Re: getting ERROR "relation 16401 has no triggers" with partition foreign key alter
Alvaro Herrera <alvherre@2ndquadrant.com>
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Rajkumar Raghuwanshi <rajkumar.raghuwanshi@enterprisedb.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2019-07-23T21:34:29Z
Lists: pgsql-hackers
On 2019-Jul-22, Alvaro Herrera wrote: > After looking at the code some more, I think calling the new function in > the Prep phase is correct. The attached patch is pretty much final form > for this bugfix. I decided to unwrap a couple of error messages (I did > get bitten while grepping because of this), and reordered one of the new > Identity command cases in ATPrepCmd since it appeared in inconsistent > order in that one place of four. Pushed to all three branches. Thanks for reporting -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Check that partitions are not in use when dropping constraints
- ec7f9a7407d3 11.5 landed
- 5562272a4229 13.0 landed
- 3ffe655c0af0 12.0 landed