Skip to content

Commit 67ea5db

Browse files
authored
Enabled log_statement = 'ddl' by default.
Postgres `log_statement` config allows logging of DDL statements by default. This can be very useful in some debugging scenarios, and also helpful for assisting users when tables have been accidentally `DROP`'ed or altered.
1 parent 77cabd3 commit 67ea5db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docker/all-in-one/etc/postgresql-custom/postgresql-platform-defaults.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ log_connections = on
55
statement_timeout = 120000
66
jit = off
77
pgaudit.log = 'ddl'
8+
log_statement = 'ddl'

0 commit comments

Comments
 (0)