Skip to content

Commit 9d5098c

Browse files
committed
Rename GUC name from unixsocket to unix_socket_directory
1 parent 7a161ac commit 9d5098c

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/backend/postmaster/postmaster.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*
1313
* IDENTIFICATION
14-
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.189 2000/11/21 21:16:00 petere Exp $
14+
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.190 2000/11/25 04:13:17 momjian Exp $
1515
*
1616
* NOTES
1717
*
@@ -114,7 +114,7 @@ static Dllist *PortList;
114114

115115
/* The socket number we are listening for connections on */
116116
int PostPortNumber;
117-
char * UnixSocketName;
117+
char * UnixSocketDir;
118118
char * Virtual_host;
119119

120120
/*
@@ -456,7 +456,7 @@ PostmasterMain(int argc, char *argv[])
456456
break;
457457
case 'k':
458458
/* Set PGUNIXSOCKET by hand. */
459-
UnixSocketName = optarg;
459+
UnixSocketDir = optarg;
460460
break;
461461
#ifdef USE_SSL
462462
case 'l':
@@ -606,7 +606,7 @@ PostmasterMain(int argc, char *argv[])
606606
if (NetServer)
607607
{
608608
status = StreamServerPort(AF_INET, Virtual_host,
609-
(unsigned short) PostPortNumber, UnixSocketName,
609+
(unsigned short) PostPortNumber, UnixSocketDir,
610610
&ServerSock_INET);
611611
if (status != STATUS_OK)
612612
{
@@ -618,7 +618,7 @@ PostmasterMain(int argc, char *argv[])
618618

619619
#ifdef HAVE_UNIX_SOCKETS
620620
status = StreamServerPort(AF_UNIX, Virtual_host,
621-
(unsigned short) PostPortNumber, UnixSocketName,
621+
(unsigned short) PostPortNumber, UnixSocketDir,
622622
&ServerSock_UNIX);
623623
if (status != STATUS_OK)
624624
{

src/backend/utils/misc/guc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Support for grand unified configuration scheme, including SET
55
* command, configuration file, and command line options.
66
*
7-
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.22 2000/11/20 05:18:39 vadim Exp $
7+
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.23 2000/11/25 04:13:17 momjian Exp $
88
*
99
* Copyright 2000 by PostgreSQL Global Development Group
1010
* Written by Peter Eisentraut <peter_e@gmx.net>.
@@ -316,7 +316,7 @@ ConfigureNamesString[] =
316316
"postgres", NULL},
317317
#endif
318318

319-
{"unixsocket", PGC_POSTMASTER, &UnixSocketName,
319+
{"unix_socket_directory", PGC_POSTMASTER, &UnixSocketDir,
320320
"", NULL},
321321

322322
{"virtual_host", PGC_POSTMASTER, &Virtual_host,

src/include/libpq/pqcomm.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
1010
* Portions Copyright (c) 1994, Regents of the University of California
1111
*
12-
* $Id: pqcomm.h,v 1.49 2000/11/22 03:40:19 momjian Exp $
12+
* $Id: pqcomm.h,v 1.50 2000/11/25 04:13:18 momjian Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -178,7 +178,7 @@ typedef struct CancelRequestPacket
178178
extern int Unix_socket_permissions;
179179

180180
extern char * Unix_socket_group;
181-
extern char * UnixSocketName;
181+
extern char * UnixSocketDir;
182182
extern char * Virtual_host;
183183

184184
#endif /* PQCOMM_H */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy