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

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Justin Pryzby <pryzby(at)telsasoft(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, Amit Langote <amitlangote09(at)gmail(dot)com>
Subject: Re: CREATE TABLE .. PARTITION OF fails to preserve tgenabled for inherited row triggers
Date: 2020-10-16 16:59:34
Message-ID: 20201016165934.GA5479@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Same, with a little test.

I also just noticed that ALTER TABLE ONLY recurses to children, which it
should not.

Attachment Content-Type Size
0001-When-cloning-triggers-preserve-enabling-state.patch text/x-diff 8.1 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2020-10-16 17:00:29 Re: Assertion failure with LEFT JOINs among >500 relations
Previous Message Maxim Orlov 2020-10-16 16:50:01 Re: allow online change primary_conninfo