]> granicus.if.org Git - postgresql/commit
Get rid of not-very-portable fcntl(F_SETLK) mechanism for locking the Unix
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 29 Nov 2000 20:59:54 +0000 (20:59 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 29 Nov 2000 20:59:54 +0000 (20:59 +0000)
commit792b0f4666b6ea6346aa8d29b568e5d3fe1fcef5
treedf4cff9d3d2bfbae0ff00928965e5751649e942b
parent1efd7330cbdd50fc2c9b065e63db357b539a4d1d
Get rid of not-very-portable fcntl(F_SETLK) mechanism for locking the Unix
socket file, in favor of having an ordinary lockfile beside the socket file.
Clean up a few robustness problems in the lockfile code.  If postmaster is
going to reject a connection request based on database state, it will now
tell you so before authentication exchange not after.  (Of course, a failure
after is still possible if conditions change meanwhile, but this makes life
easier for a yet-to-be-written pg_ping utility.)
configure
configure.in
src/backend/libpq/pqcomm.c
src/backend/postmaster/postmaster.c
src/backend/tcop/postgres.c
src/backend/utils/init/miscinit.c
src/backend/utils/misc/guc.c
src/bin/pg_ctl/pg_ctl.sh
src/include/config.h.in
src/include/miscadmin.h