Skip to content

Commit 353328a

Browse files
committed
Add missing tags to GetCommandLogLevel.
Otherwise, log_statement = 'ddl' causes errors if those statement types are used. Michael Paquier, reviewed by Ashutosh Sharma Discussion: http://postgr.es/m/CAB7nPqStC3HkE76Q1MnHsVd1vF1Td9zXApzYadzDMyLMRkkGrw@mail.gmail.com
1 parent caae416 commit 353328a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/backend/tcop/utility.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2864,6 +2864,10 @@ GetCommandLogLevel(Node *parsetree)
28642864
lev = LOGSTMT_DDL;
28652865
break;
28662866

2867+
case T_AlterOperatorStmt:
2868+
lev = LOGSTMT_DDL;
2869+
break;
2870+
28672871
case T_AlterTableMoveAllStmt:
28682872
case T_AlterTableStmt:
28692873
lev = LOGSTMT_DDL;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy