Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 53bb752

Browse files
committed
show postgres server log if startup failed
1 parent 2092dff commit 53bb752

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

run_tests.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ echo "shared_preload_libraries = 'pg_pathman'" >> $PGDATA/postgresql.conf
5454
echo "port = 55435" >> $PGDATA/postgresql.conf
5555
pg_ctl start -l /tmp/postgres.log -w
5656

57+
# check startup
58+
status=$?
59+
if [ $status -ne 0 ]; then cat /tmp/postgres.log; fi
60+
5761
# run regression tests
5862
PGPORT=55435 make USE_PGXS=1 installcheck || status=$?
5963

0 commit comments

Comments
 (0)