summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2014-08-25 15:32:18 -0400
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2014-08-25 15:32:18 -0400
commit301fcf33eb7fcbcf1da113dabeed90b8eaf656eb (patch)
tree4f8053b67cc03bb68aa920d1268ece2e2e1ceadd /src/include
parentd6d6020f1cf33a63bbae59d370b75fa5e98017f0 (diff)
downloadpostgresql-301fcf33eb7fcbcf1da113dabeed90b8eaf656eb.tar.gz
Have CREATE TABLE AS and REFRESH return an OID
Other DDL commands are already returning the OID, which is required for future additional event trigger work. This is merely making these commands in line with the rest of utility command support.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/commands/createas.h2
-rw-r--r--src/include/commands/matview.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/commands/createas.h b/src/include/commands/createas.h
index c17d829a3c..477339d291 100644
--- a/src/include/commands/createas.h
+++ b/src/include/commands/createas.h
@@ -19,7 +19,7 @@
#include "tcop/dest.h"
-extern void ExecCreateTableAs(CreateTableAsStmt *stmt, const char *queryString,
+extern Oid ExecCreateTableAs(CreateTableAsStmt *stmt, const char *queryString,
ParamListInfo params, char *completionTag);
extern int GetIntoRelEFlags(IntoClause *intoClause);
diff --git a/src/include/commands/matview.h b/src/include/commands/matview.h
index 476b285078..2c468b2a44 100644
--- a/src/include/commands/matview.h
+++ b/src/include/commands/matview.h
@@ -22,7 +22,7 @@
extern void SetMatViewPopulatedState(Relation relation, bool newstate);
-extern void ExecRefreshMatView(RefreshMatViewStmt *stmt, const char *queryString,
+extern Oid ExecRefreshMatView(RefreshMatViewStmt *stmt, const char *queryString,
ParamListInfo params, char *completionTag);
extern DestReceiver *CreateTransientRelDestReceiver(Oid oid);