1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-14 18:42:34 +03:00

Fix DDL command collection for TRANSFORM

Commit b488c580ae, which added the DDL command collection feature,
neglected to update the code that commit cac7658205 had previously
added two weeks earlier for the TRANSFORM feature.

Reported by Michael Paquier.
This commit is contained in:
Alvaro Herrera
2015-06-26 18:17:54 -03:00
parent 4028222468
commit 7d60b2af34
6 changed files with 32 additions and 4 deletions

View File

@ -1740,7 +1740,7 @@ check_transform_function(Form_pg_proc procstruct)
/*
* CREATE TRANSFORM
*/
Oid
ObjectAddress
CreateTransform(CreateTransformStmt *stmt)
{
Oid typeid;
@ -1938,7 +1938,7 @@ CreateTransform(CreateTransformStmt *stmt)
heap_close(relation, RowExclusiveLock);
return transformid;
return myself;
}