nix: withTmpDb psql notice can't mutate the db

Use the postgres role instead of the authenticator on the notice
This commit is contained in:
steve-chavez
2023-05-05 20:03:09 -03:00
parent 4197d2f739
commit a867d79c42
+1 -1
View File
@@ -94,7 +94,7 @@ let
log "Done. Running command..."
echo "${commandName}: You can connect with: psql 'postgres:///$PGDATABASE?host=$tmpdir/socket' -U $PGUSER"
echo "${commandName}: You can connect with: psql 'postgres:///$PGDATABASE?host=$tmpdir/socket' -U ${superuserRole}"
echo "${commandName}: You can tail the logs with: tail -f $tmpdir/db.log"
("$_arg_command" "''${_arg_leftovers[@]}")