Commit 002c9dd
committed
Handle sequences in preprocess_pubobj_list
Commit 75b1521 added support for logical replication of sequences,
including grammar changes, but it did not update preprocess_pubobj_list
accordingly. This can cause segfaults with "continuations", i.e. when
command specifies a list of objects:
CREATE PUBLICATION p FOR SEQUENCE s1, s2;
Reported by Amit Kapila, patch by me.
Reported-by: Amit Kapila
Discussion: https://postgr.es/m/CAA4eK1JxDNKGBSNTyN-Xj2JRjzFo+ziSqJbjH==vuO0YF_CQrg@mail.gmail.com1 parent 2d22329 commit 002c9dd
File tree
3 files changed
+60
-1
lines changed- src
- backend/parser
- test/regress
- expected
- sql
3 files changed
+60
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17493 | 17493 | | |
17494 | 17494 | | |
17495 | 17495 | | |
17496 | | - | |
| 17496 | + | |
| 17497 | + | |
17497 | 17498 | | |
17498 | 17499 | | |
17499 | 17500 | | |
| |||
17537 | 17538 | | |
17538 | 17539 | | |
17539 | 17540 | | |
| 17541 | + | |
| 17542 | + | |
| 17543 | + | |
| 17544 | + | |
| 17545 | + | |
| 17546 | + | |
| 17547 | + | |
| 17548 | + | |
| 17549 | + | |
| 17550 | + | |
| 17551 | + | |
| 17552 | + | |
| 17553 | + | |
| 17554 | + | |
| 17555 | + | |
| 17556 | + | |
| 17557 | + | |
| 17558 | + | |
| 17559 | + | |
| 17560 | + | |
| 17561 | + | |
| 17562 | + | |
| 17563 | + | |
| 17564 | + | |
17540 | 17565 | | |
17541 | 17566 | | |
17542 | 17567 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
322 | 340 | | |
323 | 341 | | |
324 | 342 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
170 | 186 | | |
171 | 187 | | |
172 | 188 | | |
| |||
0 commit comments