Re: CREATE TABLE .. PARTITION OF fails to preserve tgenabled for inherited row triggers

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Justin Pryzby <pryzby@telsasoft.com>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>, pgsql-hackers@postgresql.org, Amit Langote <amitlangote09@gmail.com>
Date: 2021-07-16T18:15:26Z
Lists: pgsql-hackers
Justin Pryzby <pryzby@telsasoft.com> writes:
> I think there's still an issue that comments on child triggers aren't
> preserved, right ?

Do we care?  That seems like messing with a system-internal object.
In general we won't promise to preserve the results of doing so.

			regards, tom lane



Commits

  1. Fix pg_dump for disabled triggers on partitioned tables

  2. Preserve firing-on state when cloning row triggers to partitions

  3. Fix ALTER TABLE .. ENABLE/DISABLE TRIGGER recursion

  4. psql \d: Display table where trigger is defined, if inherited

  5. Fix cloning of row triggers to sub-partitions

  6. Make pg_dump emit ATTACH PARTITION instead of PARTITION OF (reprise)