mirror of
https://github.com/postgres/postgres.git
synced 2026-04-15 22:10:45 -04:00
Log ALTER SYSTEM statements as DDL
Per discussion in bug #11350, log ALTER SYSTEM commands at the log_statement=ddl level, rather than at the log_statement=all level. Pointed out by Tomonari Katsumata. Back-patch to 9.4 where ALTER SYSTEM was introduced.
This commit is contained in:
parent
6ef8c658af
commit
43bed84c32
1 changed files with 1 additions and 1 deletions
|
|
@ -2759,7 +2759,7 @@ GetCommandLogLevel(Node *parsetree)
|
|||
break;
|
||||
|
||||
case T_AlterSystemStmt:
|
||||
lev = LOGSTMT_ALL;
|
||||
lev = LOGSTMT_DDL;
|
||||
break;
|
||||
|
||||
case T_VariableSetStmt:
|
||||
|
|
|
|||
Loading…
Reference in a new issue