Skip site navigation (1) Skip section navigation (2)

service start script

From: Michael Adler <adler(at)glimpser(dot)org>
To: pgsql-cygwin(at)postgresql(dot)org
Cc: Jason Tishler <jason(at)tishler(dot)net>
Subject: service start script
Date: 2002-09-10 14:57:36
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-cygwin
In order to reliably start up the postmaster, I have been using a script
to wrap around the postmaster binary and clean up some files that might
otherwise prevent the postmaster from starting.

The script looks something like this:

rm -f $PGDATA/
rm -f /tmp/.s.PGSQL.5432.lock /tmp/.s.PGSQL.5432
exec /bin/postmaster

This improved reliability 8 months ago.

Does anyone else use/need something like this? Or do the newer versions
simply work better without this functionality?

Mike Adler

In response to


pgsql-cygwin by date

Next:From: Myles Bogner, Ph.D.Date: 2002-09-11 00:46:10
Subject: Re: service start script
Previous:From: Dave PageDate: 2002-09-10 14:30:11
Subject: Re: pb on insertion in the database

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group