forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf7aab36
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 parentfa26eba commitf7aab36
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 | |
---|---|---|---|
| |||
5607 | 5607 |
| |
5608 | 5608 |
| |
5609 | 5609 |
| |
5610 |
| - | |
5611 |
| - | |
5612 |
| - | |
5613 |
| - | |
| 5610 | + | |
5614 | 5611 |
| |
5615 | 5612 |
| |
5616 | 5613 |
| |
| |||
5622 | 5619 |
| |
5623 | 5620 |
| |
5624 | 5621 |
| |
5625 |
| - | |
5626 |
| - | |
| 5622 | + | |
| 5623 | + | |
| 5624 | + | |
| 5625 | + | |
5627 | 5626 |
| |
5628 | 5627 |
| |
5629 | 5628 |
| |
|
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)