Skip to content

Commit c8b9b14

Browse files
committed
Back out socket file path change until it works.
1 parent 36933b4 commit c8b9b14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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.46 2000/11/22 01:41:14 momjian Exp $
12+
* $Id: pqcomm.h,v 1.47 2000/11/22 02:38:25 momjian Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -59,7 +59,7 @@ typedef union SockAddr
5959
#endif
6060

6161
#define UNIXSOCK_PATH(sun,port,defpath) \
62-
(snprintf((sun).sun_path, UNIXSOCK_LEN(sun), "%s/.s.PGSQL.%d", (defpath && *(defpath) != '\0') ? (defpath) : "/tmp", (port)))
62+
(snprintf((sun).sun_path, UNIXSOCK_LEN(sun), "/tmp/.s.PGSQL.%d", (port)))
6363

6464
/*
6565
* We do this because sun_len is in BSD's struct, while others don't.

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