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 39827b2 commit 7dd46e9Copy full SHA for 7dd46e9
flake.nix
@@ -569,15 +569,6 @@
569
570
#postgres -D "$PGDATA" -k "$TMPDIR" -h localhost -p 5432 >$TMPDIR/logfile/postgresql.log 2>&1 &
571
pg_ctl -D "$PGDATA" -l $TMPDIR/logfile/postgresql.log -o "-k $TMPDIR -p 5432" start
572
- # If server fails to start, output diagnostic information
573
- if ! pg_ctl -D $TMPDIR/pgdata status > /dev/null 2>&1; then
574
- echo "=== PostgreSQL Log ==="
575
- cat $TMPDIR/logfile/postgresql.log
576
- echo "=== System Information ==="
577
- ls -la $TMPDIR/pgdata
578
- whoami
579
- groups
580
- fi
581
for i in {1..60}; do
582
if pg_isready -h localhost -p 5432; then
583
echo "PostgreSQL is ready"
0 commit comments