- Notifications
You must be signed in to change notification settings - Fork5
Commit8f1911d
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 parentda7d44b commit8f1911d
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 | |
---|---|---|---|
| |||
11052 | 11052 |
| |
11053 | 11053 |
| |
11054 | 11054 |
| |
11055 |
| - | |
11056 |
| - | |
11057 |
| - | |
11058 |
| - | |
| 11055 | + | |
| 11056 | + | |
| 11057 | + | |
| 11058 | + | |
| 11059 | + | |
| 11060 | + | |
| 11061 | + | |
| 11062 | + | |
| 11063 | + | |
| 11064 | + | |
| 11065 | + | |
| 11066 | + | |
| 11067 | + | |
| 11068 | + | |
11059 | 11069 |
| |
11060 | 11070 |
| |
11061 | 11071 |
| |
|
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)