mirror of
https://github.com/postgres/postgres.git
synced 2025-06-14 18:42:34 +03:00
Fix DDL command collection for TRANSFORM
Commitb488c580ae
, which added the DDL command collection feature, neglected to update the code that commitcac7658205
had previously added two weeks earlier for the TRANSFORM feature. Reported by Michael Paquier.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user