mirror of
https://github.com/postgres/postgres.git
synced 2026-03-16 15:43:31 -04:00
Beginning in v15, if you apply ALTER TABLE ENABLE/DISABLE TRIGGER to a partitioned table, it also affects the partitions' cloned versions of the affected trigger(s). The initial implementation of this located the clones by name, but that fails on foreign-key triggers which have names incorporating their own OIDs. We can fix that, and also make the behavior more bulletproof in the face of user-initiated trigger renames, by identifying the cloned triggers by tgparentid. Following the lead of earlier commits in this area, I took care not to break ABI in the v15 branch, even though I rather doubt there are any external callers of EnableDisableTrigger. While here, update the documentation, which was not touched when the semantics were changed. Per bug #17817 from Alan Hodgson. Back-patch to v15; older versions do not have this behavior. Discussion: https://postgr.es/m/17817-31dfb7c2100d9f3d@postgresql.org |
||
|---|---|---|
| .. | ||
| alter.h | ||
| async.h | ||
| cluster.h | ||
| collationcmds.h | ||
| comment.h | ||
| conversioncmds.h | ||
| copy.h | ||
| copyfrom_internal.h | ||
| createas.h | ||
| dbcommands.h | ||
| dbcommands_xlog.h | ||
| defrem.h | ||
| discard.h | ||
| event_trigger.h | ||
| explain.h | ||
| extension.h | ||
| lockcmds.h | ||
| matview.h | ||
| policy.h | ||
| portalcmds.h | ||
| prepare.h | ||
| proclang.h | ||
| progress.h | ||
| publicationcmds.h | ||
| schemacmds.h | ||
| seclabel.h | ||
| sequence.h | ||
| subscriptioncmds.h | ||
| tablecmds.h | ||
| tablespace.h | ||
| trigger.h | ||
| typecmds.h | ||
| user.h | ||
| vacuum.h | ||
| view.h | ||