diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-11-29 20:59:54 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-11-29 20:59:54 +0000 |
commit | 792b0f4666b6ea6346aa8d29b568e5d3fe1fcef5 (patch) | |
tree | df4cff9d3d2bfbae0ff00928965e5751649e942b /src/backend/utils/misc/guc.c | |
parent | 1efd7330cbdd50fc2c9b065e63db357b539a4d1d (diff) | |
download | postgresql-792b0f4666b6ea6346aa8d29b568e5d3fe1fcef5.tar.gz postgresql-792b0f4666b6ea6346aa8d29b568e5d3fe1fcef5.zip |
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.)
Diffstat (limited to 'src/backend/utils/misc/guc.c')
-rw-r--r-- | src/backend/utils/misc/guc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c index 7813b6d10ba..398fb25bf68 100644 --- a/src/backend/utils/misc/guc.c +++ b/src/backend/utils/misc/guc.c @@ -4,7 +4,7 @@ * Support for grand unified configuration scheme, including SET * command, configuration file, and command line options. * - * $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.23 2000/11/25 04:13:17 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.24 2000/11/29 20:59:53 tgl Exp $ * * Copyright 2000 by PostgreSQL Global Development Group * Written by Peter Eisentraut <peter_e@gmx.net>. @@ -319,7 +319,7 @@ ConfigureNamesString[] = {"unix_socket_directory", PGC_POSTMASTER, &UnixSocketDir, "", NULL}, - {"virtual_host", PGC_POSTMASTER, &Virtual_host, + {"virtual_host", PGC_POSTMASTER, &VirtualHost, "", NULL}, {NULL, 0, NULL, NULL, NULL} |