Location via proxy:
[ UP ]
[Report a bug]
[Manage cookies]
No cookies
No scripts
No ads
No referrer
Show this form
projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4bee09
)
Log ALTER SYSTEM statements as DDL
author
Stephen Frost
<sfrost@snowman.net>
Tue, 23 Sep 2014 00:50:17 +0000
(20:50 -0400)
committer
Stephen Frost
<sfrost@snowman.net>
Tue, 23 Sep 2014 00:52:56 +0000
(20:52 -0400)
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.
src/backend/tcop/utility.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/tcop/utility.c
b/src/backend/tcop/utility.c
index d55d095585890d7326120d3c0bc66307da15007d..57d2b00bd5510728942e28bf26357609ceabbb14 100644
(file)
--- a/
src/backend/tcop/utility.c
+++ b/
src/backend/tcop/utility.c
@@
-2726,7
+2726,7
@@
GetCommandLogLevel(Node *parsetree)
break;
case T_AlterSystemStmt:
- lev = LOGSTMT_
AL
L;
+ lev = LOGSTMT_
DD
L;
break;
case T_VariableSetStmt: