forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf3c4537
committed
Fix pg_identify_object_as_address() with event triggers
Attempting to use this function with event triggers failed, as, sinceits introduction ina676201, this code has never associated an objectname with event triggers. This addresses the failure by adding theevent trigger name to the set defining its object address.Note that regression tests are added within event_trigger and notobject_address to avoid issues with concurrent connections in parallelschedules.Author: Joel JacobsonDiscussion:https://postgr.es/m/3c905e77-a026-46ae-8835-c3f6cd1d24c8@www.fastmail.comBackpatch-through: 9.61 parentec5bab9 commitf3c4537
File tree
3 files changed
+33
-6
lines changed- src
- backend/catalog
- test/regress
- expected
- sql
3 files changed
+33
-6
lines changedLines changed: 5 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5084 | 5084 |
| |
5085 | 5085 |
| |
5086 | 5086 |
| |
5087 |
| - | |
5088 |
| - | |
5089 |
| - | |
5090 |
| - | |
| 5087 | + | |
5091 | 5088 |
| |
5092 | 5089 |
| |
5093 | 5090 |
| |
5094 | 5091 |
| |
5095 | 5092 |
| |
5096 | 5093 |
| |
5097 | 5094 |
| |
5098 |
| - | |
5099 |
| - | |
| 5095 | + | |
| 5096 | + | |
| 5097 | + | |
| 5098 | + | |
5100 | 5099 |
| |
5101 | 5100 |
| |
5102 | 5101 |
| |
|
Lines changed: 17 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
533 | 533 |
| |
534 | 534 |
| |
535 | 535 |
| |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
536 | 553 |
| |
537 | 554 |
| |
538 | 555 |
|
Lines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
426 | 426 |
| |
427 | 427 |
| |
428 | 428 |
| |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
429 | 440 |
| |
430 | 441 |
| |
431 | 442 |
|
0 commit comments
Comments
(0)