pgsql: Fix OID passed to object-alter hook during ALTER CONSTRAINT - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Fix OID passed to object-alter hook during ALTER CONSTRAINT
Date
Msg-id E1ldvm8-0008TI-Me@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix OID passed to object-alter hook during ALTER CONSTRAINT

The OID of the constraint is used instead of the OID of the trigger --
an easy mistake to make.  Apparently the object-alter hooks are not very
well tested :-(

Backpatch to 12, where this typo was introduced by 578b229718e8

Discussion: https://postgr.es/m/20210503231633.GA6994@alvherre.pgsql

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/72fabd4bfb5a8189591933cf244eabcaf83d4b8b

Modified Files
--------------
src/backend/commands/tablecmds.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: doc: Fix typos
Next
From: Tom Lane
Date:
Subject: pgsql: Disable cache clobber to avoid breaking postgres_fdw termination