sepgsql-fixbug-create-table-as.patch

application/octet-stream

Filename: sepgsql-fixbug-create-table-as.patch
Type: application/octet-stream
Part: 0
Message: [bugfix] sepgsql missed a case of CREATE TABLE AS

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: unified
File+
contrib/sepgsql/hooks.c 1 0
 contrib/sepgsql/hooks.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/contrib/sepgsql/hooks.c b/contrib/sepgsql/hooks.c
index 9145191..e24f1fa 100644
--- a/contrib/sepgsql/hooks.c
+++ b/contrib/sepgsql/hooks.c
@@ -121,6 +121,7 @@ sepgsql_object_access(ObjectAccessType access,
 						switch (sepgsql_context_info.cmdtype)
 						{
 							case T_CreateStmt:
+							case T_CreateTableAsStmt:
 							case T_ViewStmt:
 							case T_CreateSeqStmt:
 							case T_CompositeTypeStmt: