]> granicus.if.org Git - postgresql/commit
Massimo Dal Zotto <dz@cs.unitn.it>
authorMarc G. Fournier <scrappy@hub.org>
Tue, 25 Aug 1998 21:32:10 +0000 (21:32 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Tue, 25 Aug 1998 21:32:10 +0000 (21:32 +0000)
commit51e8e187d1ca6963a5467890a7f8ebbf8b59f573
tree61267be6c951c6e48646949f9f020e34952add76
parent53d7d4730206055e660343a7d25d3d90d3569e2e
Massimo Dal Zotto <dz@cs.unitn.it>

> socket-flock.patch
>
>       use advisory locks to check if the unix socket can be deleted.
>       A running postmaster keeps a lock on that file. A starting
>       postmaster exits if the file exists and is locked, otherwise
>       it deletes the sockets and proceeds.
>       This avoid the need to remove manually the file after a postmaster
>       or system crash.
>       I don't know if flock is available on any system. If not we could
>       define a HAVE_FLOCK set by configure.
src/backend/libpq/pqcomm.c