diff options
| author | Tom Lane | 1998-10-06 02:31:42 +0000 |
|---|---|---|
| committer | Tom Lane | 1998-10-06 02:31:42 +0000 |
| commit | 9e23ab9b5c62ff048584ba3e5de646eff5017fca (patch) | |
| tree | 4175c983968b5339825f1a83c49bf066059cfcab /src/include | |
| parent | 16c6545d5644354da1c7764f710d4de98e754df2 (diff) | |
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.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/config.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/config.h.in b/src/include/config.h.in index 44752346b51..10c415c3a34 100644 --- a/src/include/config.h.in +++ b/src/include/config.h.in @@ -207,6 +207,9 @@ extern void srandom(int seed); /* Set to 1 if you have union semun */ #undef HAVE_UNION_SEMUN +/* Set to 1 if you have F_SETLK option for fcntl() */ +#undef HAVE_FCNTL_SETLK + /* Set to 1 if you want to USE_LOCALE */ #undef USE_LOCALE |
