diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2015-06-26 18:17:54 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2015-06-26 18:17:54 -0300 |
commit | 7d60b2af34842ae89b1abdd31fb5d303bd43c514 (patch) | |
tree | 73fd808ab5ec9c45bd4de98ec8cbf46bec812a90 /src/backend/commands/functioncmds.c | |
parent | 402822246866e1094d35a617775a65b4be93d322 (diff) | |
download | postgresql-7d60b2af34842ae89b1abdd31fb5d303bd43c514.tar.gz postgresql-7d60b2af34842ae89b1abdd31fb5d303bd43c514.zip |
Fix DDL command collection for TRANSFORM
Commit b488c580ae, which added the DDL command collection feature,
neglected to update the code that commit cac76582053e had previously
added two weeks earlier for the TRANSFORM feature.
Reported by Michael Paquier.
Diffstat (limited to 'src/backend/commands/functioncmds.c')
-rw-r--r-- | src/backend/commands/functioncmds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/commands/functioncmds.c b/src/backend/commands/functioncmds.c index 4accf767bbf..dbbb2d3f88a 100644 --- a/src/backend/commands/functioncmds.c +++ b/src/backend/commands/functioncmds.c @@ -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; } |