Commit 9d5098ca authored by Bruce Momjian's avatar Bruce Momjian

Rename GUC name from unixsocket to unix_socket_directory

parent 7a161ac3
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.189 2000/11/21 21:16:00 petere Exp $ * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.190 2000/11/25 04:13:17 momjian Exp $
* *
* NOTES * NOTES
* *
...@@ -114,7 +114,7 @@ static Dllist *PortList; ...@@ -114,7 +114,7 @@ static Dllist *PortList;
/* The socket number we are listening for connections on */ /* The socket number we are listening for connections on */
int PostPortNumber; int PostPortNumber;
char * UnixSocketName; char * UnixSocketDir;
char * Virtual_host; char * Virtual_host;
/* /*
...@@ -456,7 +456,7 @@ PostmasterMain(int argc, char *argv[]) ...@@ -456,7 +456,7 @@ PostmasterMain(int argc, char *argv[])
break; break;
case 'k': case 'k':
/* Set PGUNIXSOCKET by hand. */ /* Set PGUNIXSOCKET by hand. */
UnixSocketName = optarg; UnixSocketDir = optarg;
break; break;
#ifdef USE_SSL #ifdef USE_SSL
case 'l': case 'l':
...@@ -606,7 +606,7 @@ PostmasterMain(int argc, char *argv[]) ...@@ -606,7 +606,7 @@ PostmasterMain(int argc, char *argv[])
if (NetServer) if (NetServer)
{ {
status = StreamServerPort(AF_INET, Virtual_host, status = StreamServerPort(AF_INET, Virtual_host,
(unsigned short) PostPortNumber, UnixSocketName, (unsigned short) PostPortNumber, UnixSocketDir,
&ServerSock_INET); &ServerSock_INET);
if (status != STATUS_OK) if (status != STATUS_OK)
{ {
...@@ -618,7 +618,7 @@ PostmasterMain(int argc, char *argv[]) ...@@ -618,7 +618,7 @@ PostmasterMain(int argc, char *argv[])
#ifdef HAVE_UNIX_SOCKETS #ifdef HAVE_UNIX_SOCKETS
status = StreamServerPort(AF_UNIX, Virtual_host, status = StreamServerPort(AF_UNIX, Virtual_host,
(unsigned short) PostPortNumber, UnixSocketName, (unsigned short) PostPortNumber, UnixSocketDir,
&ServerSock_UNIX); &ServerSock_UNIX);
if (status != STATUS_OK) if (status != STATUS_OK)
{ {
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* Support for grand unified configuration scheme, including SET * Support for grand unified configuration scheme, including SET
* command, configuration file, and command line options. * command, configuration file, and command line options.
* *
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.22 2000/11/20 05:18:39 vadim Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.23 2000/11/25 04:13:17 momjian Exp $
* *
* Copyright 2000 by PostgreSQL Global Development Group * Copyright 2000 by PostgreSQL Global Development Group
* Written by Peter Eisentraut <peter_e@gmx.net>. * Written by Peter Eisentraut <peter_e@gmx.net>.
...@@ -316,7 +316,7 @@ ConfigureNamesString[] = ...@@ -316,7 +316,7 @@ ConfigureNamesString[] =
"postgres", NULL}, "postgres", NULL},
#endif #endif
{"unixsocket", PGC_POSTMASTER, &UnixSocketName, {"unix_socket_directory", PGC_POSTMASTER, &UnixSocketDir,
"", NULL}, "", NULL},
{"virtual_host", PGC_POSTMASTER, &Virtual_host, {"virtual_host", PGC_POSTMASTER, &Virtual_host,
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* $Id: pqcomm.h,v 1.49 2000/11/22 03:40:19 momjian Exp $ * $Id: pqcomm.h,v 1.50 2000/11/25 04:13:18 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -178,7 +178,7 @@ typedef struct CancelRequestPacket ...@@ -178,7 +178,7 @@ typedef struct CancelRequestPacket
extern int Unix_socket_permissions; extern int Unix_socket_permissions;
extern char * Unix_socket_group; extern char * Unix_socket_group;
extern char * UnixSocketName; extern char * UnixSocketDir;
extern char * Virtual_host; extern char * Virtual_host;
#endif /* PQCOMM_H */ #endif /* PQCOMM_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment