We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d72b79d commit 34c9bc2Copy full SHA for 34c9bc2
flake.nix
@@ -417,15 +417,12 @@
417
fi
418
done
419
createdb -p 5432 -h localhost testing
420
- if ! psql -p 5432 -h localhost -d testing -v ON_ERROR_STOP=1 -Xaf ${./nix/tests/prime.sql} > $TMPDIR/psql_output.log 2>&1; then
421
- echo "Error executing SQL file. Error output:"
422
- cat $TMPDIR/psql_output.log
423
- echo "PostgreSQL log content:"
+ if ! psql -p 5432 -h localhost -d testing -v ON_ERROR_STOP=1 -Xaf ${./nix/tests/prime.sql}; then
+ echo "Error executing SQL file. PostgreSQL log content:"
424
cat $TMPDIR/logfile/postgresql.log
425
pg_ctl -D "$PGDATA" stop
426
exit 1
427
428
-
429
pg_prove -p 5432 -h localhost -d testing ${sqlTests}/*.sql
430
431
mkdir -p $out/regression_output
0 commit comments