Skip to content

Commit

Permalink
nix: log all statements in temp db
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-chavez committed Apr 18, 2022
1 parent bc7d54c commit c399b1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nix/tools/withTools.nix
Expand Up @@ -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 () {
Expand Down

0 comments on commit c399b1f

Please sign in to comment.