From 910d4cdfe83274ce2ecd5dbbd8feff5249a9c6b2 Mon Sep 17 00:00:00 2001 From: steve-chavez Date: Mon, 28 Mar 2022 23:18:18 +0200 Subject: [PATCH] nix: log all statements in temp db --- nix/tools/withTools.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/tools/withTools.nix b/nix/tools/withTools.nix index 736ccb9b18e..816c7105a7f 100644 --- a/nix/tools/withTools.nix +++ b/nix/tools/withTools.nix @@ -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 () {