- Notifications
You must be signed in to change notification settings - Fork28
Commit84eca14
committed
Remove ancient hacks to ignore certain opclass names in CREATE INDEX.
Twenty years ago, we removed certain operator classes in favor ofletting indexes over their data types be built with some otherbinary-compatible, more standard opclass. As a hack to allow existingindex definitions to be dumped and reloaded, we made CREATE INDEX ignorethe removed opclass names, so that such indexes would fall back to thenew default opclass for their data types. This was never intended tobe a long-lived thing; it carries the obvious risk of breaking somefuture developer's attempt to re-use those old opclass names. Sinceall of the cases in question are for opclasses that were removedbefore PG 8.0, it seems okay to get rid of these hacks now.This is part of a group of patches removing various server-side klugesfor transparently upgrading pre-8.0 dump files. Since we've had fewcomplaints about dropping pg_dump's support for dumping from pre-8.0servers (commit64f3524), it seems okay to now remove these kluges.Discussion:https://postgr.es/m/3685.1583422389@sss.pgh.pa.us1 parente58a599 commit84eca14
1 file changed
+1
-29
lines changedLines changed: 1 addition & 29 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1836 | 1836 |
| |
1837 | 1837 |
| |
1838 | 1838 |
| |
1839 |
| - | |
| 1839 | + | |
1840 | 1840 |
| |
1841 | 1841 |
| |
1842 | 1842 |
| |
| |||
1850 | 1850 |
| |
1851 | 1851 |
| |
1852 | 1852 |
| |
1853 |
| - | |
1854 |
| - | |
1855 |
| - | |
1856 |
| - | |
1857 |
| - | |
1858 |
| - | |
1859 |
| - | |
1860 |
| - | |
1861 |
| - | |
1862 |
| - | |
1863 |
| - | |
1864 |
| - | |
1865 |
| - | |
1866 |
| - | |
1867 |
| - | |
1868 |
| - | |
1869 |
| - | |
1870 |
| - | |
1871 |
| - | |
1872 |
| - | |
1873 |
| - | |
1874 |
| - | |
1875 |
| - | |
1876 |
| - | |
1877 |
| - | |
1878 |
| - | |
1879 |
| - | |
1880 |
| - | |
1881 | 1853 |
| |
1882 | 1854 |
| |
1883 | 1855 |
| |
|
0 commit comments
Comments
(0)