- Notifications
You must be signed in to change notification settings - Fork5
Commit8f8e65d
committed
Fix possible crash in ALTER TABLE ... REPLICA IDENTITY USING INDEX.
Careless coding added by commit07cacba could result in a crashor a bizarre error message if someone tried to select an index on theOID column as the replica identity index for a table. Back-patch to 9.4where the feature was introduced.Discussion: CAKJS1f8TQYgTRDyF1_u9PVCKWRWz+DkieH=U7954HeHVPJKaKg@mail.gmail.comDavid Rowley1 parentedd5737 commit8f8e65d
File tree
3 files changed
+27
-6
lines changed- src
- backend/commands
- test/regress
- expected
- sql
3 files changed
+27
-6
lines changedLines changed: 14 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11019 | 11019 |
| |
11020 | 11020 |
| |
11021 | 11021 |
| |
11022 |
| - | |
11023 |
| - | |
11024 |
| - | |
11025 |
| - | |
| 11022 | + | |
| 11023 | + | |
| 11024 | + | |
| 11025 | + | |
| 11026 | + | |
| 11027 | + | |
| 11028 | + | |
| 11029 | + | |
| 11030 | + | |
| 11031 | + | |
| 11032 | + | |
| 11033 | + | |
| 11034 | + | |
| 11035 | + | |
11026 | 11036 |
| |
11027 | 11037 |
| |
11028 | 11038 |
| |
|
Lines changed: 8 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 |
| - | |
| 8 | + | |
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
| 12 | + | |
12 | 13 |
| |
13 | 14 |
| |
14 | 15 |
| |
| |||
88 | 89 |
| |
89 | 90 |
| |
90 | 91 |
| |
| 92 | + | |
91 | 93 |
| |
92 | 94 |
| |
93 | 95 |
| |
94 | 96 |
| |
95 | 97 |
| |
96 | 98 |
| |
| 99 | + | |
| 100 | + | |
97 | 101 |
| |
98 | 102 |
| |
99 | 103 |
| |
| |||
118 | 122 |
| |
119 | 123 |
| |
120 | 124 |
| |
| 125 | + | |
121 | 126 |
| |
122 | 127 |
| |
123 | 128 |
| |
| |||
166 | 171 |
| |
167 | 172 |
| |
168 | 173 |
| |
| 174 | + | |
169 | 175 |
| |
170 | 176 |
| |
171 | 177 |
| |
172 | 178 |
| |
173 | 179 |
| |
174 | 180 |
| |
| 181 | + | |
175 | 182 |
| |
176 | 183 |
| |
177 | 184 |
| |
|
Lines changed: 5 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 |
| - | |
| 8 | + | |
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| 14 | + | |
14 | 15 |
| |
15 | 16 |
| |
16 | 17 |
| |
| |||
52 | 53 |
| |
53 | 54 |
| |
54 | 55 |
| |
| 56 | + | |
| 57 | + | |
| 58 | + | |
55 | 59 |
| |
56 | 60 |
| |
57 | 61 |
| |
|
0 commit comments
Comments
(0)