- Notifications
You must be signed in to change notification settings - Fork5.2k
Commite5d04ae
Amit Kapila
Throw ERROR when publish_generated_columns is specified without a value.
Previously, specifying the publication option 'publish_generated_columns'without an explicit value would incorrectly default to 'stored', which isnot the intended behavior.This patch fixes the issue by raising an ERROR when no value is providedfor 'publish_generated_columns', ensuring that users must explicitlyspecify a valid option.Author: Peter Smith <smithpb2250@gmail.com>Reviewed-by: vignesh C <vignesh21@gmail.com>Backpatch-through: 18, where it was introducedDiscussion:https://postgr.es/m/CAHut+PsCUCWiEKmB10DxhoPfXbF6jw5RD9ib2LuaQeA_XraW7w@mail.gmail.com1 parent7c3a036 commite5d04ae
File tree
3 files changed
+16
-26
lines changed- src
- backend/commands
- test/regress
- expected
- sql
3 files changed
+16
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2113 | 2113 | | |
2114 | 2114 | | |
2115 | 2115 | | |
2116 | | - | |
| 2116 | + | |
2117 | 2117 | | |
2118 | 2118 | | |
2119 | | - | |
| 2119 | + | |
2120 | 2120 | | |
2121 | | - | |
2122 | | - | |
2123 | | - | |
2124 | | - | |
| 2121 | + | |
| 2122 | + | |
| 2123 | + | |
2125 | 2124 | | |
2126 | | - | |
2127 | | - | |
2128 | | - | |
2129 | | - | |
| 2125 | + | |
| 2126 | + | |
| 2127 | + | |
| 2128 | + | |
| 2129 | + | |
2130 | 2130 | | |
2131 | 2131 | | |
2132 | 2132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
| |||
1844 | 1847 | | |
1845 | 1848 | | |
1846 | 1849 | | |
1847 | | - | |
1848 | | - | |
| 1850 | + | |
1849 | 1851 | | |
1850 | 1852 | | |
1851 | 1853 | | |
| |||
1863 | 1865 | | |
1864 | 1866 | | |
1865 | 1867 | | |
1866 | | - | |
1867 | | - | |
1868 | | - | |
1869 | | - | |
1870 | | - | |
1871 | | - | |
1872 | | - | |
1873 | | - | |
1874 | 1868 | | |
1875 | 1869 | | |
1876 | | - | |
1877 | 1870 | | |
1878 | 1871 | | |
1879 | 1872 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
1183 | 1184 | | |
1184 | 1185 | | |
1185 | 1186 | | |
1186 | | - | |
1187 | | - | |
| 1187 | + | |
1188 | 1188 | | |
1189 | 1189 | | |
1190 | 1190 | | |
1191 | 1191 | | |
1192 | 1192 | | |
1193 | | - | |
1194 | | - | |
1195 | 1193 | | |
1196 | 1194 | | |
1197 | 1195 | | |
1198 | | - | |
1199 | 1196 | | |
1200 | 1197 | | |
1201 | 1198 | | |
| |||
0 commit comments
Comments
(0)