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)
commit671070f94ae44fb730738de8dd5a08e189eb33a3
treefa31e70316ab4607d43bec87fcc52afd2539a37f
parent757318d820c5086f95c98ed902c8c0210b0428a9
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