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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Álvaro Herrera
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@...

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/91a6b3862fef95c3075d9bea945b6d974433389f

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