nix: log all statements in temp db
This commit is contained in:
committed by
Steve Chavez
parent
bc7d54c7d2
commit
c399b1f5f8
@@ -62,7 +62,7 @@ let
|
||||
|
||||
log "Starting the database cluster..."
|
||||
# Instead of listening on a local port, we will listen on a unix domain socket.
|
||||
pg_ctl -l "$tmpdir/db.log" -w start -o "-F -c listen_addresses=\"\" -k $PGHOST" \
|
||||
pg_ctl -l "$tmpdir/db.log" -w start -o "-F -c listen_addresses=\"\" -k $PGHOST -c log_statement=\"all\"" \
|
||||
>> "$setuplog"
|
||||
|
||||
stop () {
|
||||
|
||||
Reference in New Issue
Block a user