]> granicus.if.org Git - postgresql/commit
Add configure test to make sure fcntl(SETLK) is available,
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 6 Oct 1998 02:31:42 +0000 (02:31 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 6 Oct 1998 02:31:42 +0000 (02:31 +0000)
commit9e23ab9b5c62ff048584ba3e5de646eff5017fca
tree4175c983968b5339825f1a83c49bf066059cfcab
parent16c6545d5644354da1c7764f710d4de98e754df2
Add configure test to make sure fcntl(SETLK) is available,
and make backend/libpq/pqcomm.c only try to lock the socket file when
the call exists.  Also, change open-RDONLY to open-WRONLY; at least
on my platform, you can't get a write lock on a file you didn't open
for writing.
src/backend/libpq/pqcomm.c
src/configure.in
src/include/config.h.in