From 59586abe51a178b65c64062b1d3115733566f5e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vojt=C4=9Bch=20K=C3=A1n=C4=9B?= Date: Sat, 6 Feb 2021 21:12:35 +0100 Subject: [PATCH] Print executed queries in devDb to simplify development --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index e5d07c9..8fc8174 100644 --- a/flake.nix +++ b/flake.nix @@ -21,7 +21,7 @@ '${pkgs.findutils}/bin/find' cmd pkg ui/html | '${pkgs.entr}/bin/entr' -dr '${pkgs.go_1_14}/bin/go' run ./cmd/web ''; packages.x86_64-linux.devDb = pkgs.writeShellScriptBin "devDb" '' - '${pkgs.postgresql}/bin/postgres' -D .pg-data -k "$PWD/.pg-sockets" #-c listen_addresses="" # Goland does not support connecting over socket + '${pkgs.postgresql}/bin/postgres' -D .pg-data -k "$PWD/.pg-sockets" -c log_statement=all #-c listen_addresses="" # Goland does not support connecting over socket ''; }; }