diff options
author | Bruce Momjian <bruce@momjian.us> | 2000-11-22 02:38:25 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2000-11-22 02:38:25 +0000 |
commit | c8b9b14df1d1de9dffd99789a15fbd06cf58f329 (patch) | |
tree | 71d29cebde0fe3027247a55a6b04c6bf56f6db83 | |
parent | 36933b4628acd2ae4e9ffa688af1ecdfce46d60c (diff) |
Back out socket file path change until it works.
-rw-r--r-- | src/include/libpq/pqcomm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/libpq/pqcomm.h b/src/include/libpq/pqcomm.h index 4d55d4a94bd..f7f40251bdd 100644 --- a/src/include/libpq/pqcomm.h +++ b/src/include/libpq/pqcomm.h @@ -9,7 +9,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: pqcomm.h,v 1.46 2000/11/22 01:41:14 momjian Exp $ + * $Id: pqcomm.h,v 1.47 2000/11/22 02:38:25 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -59,7 +59,7 @@ typedef union SockAddr #endif #define UNIXSOCK_PATH(sun,port,defpath) \ - (snprintf((sun).sun_path, UNIXSOCK_LEN(sun), "%s/.s.PGSQL.%d", (defpath && *(defpath) != '\0') ? (defpath) : "/tmp", (port))) + (snprintf((sun).sun_path, UNIXSOCK_LEN(sun), "/tmp/.s.PGSQL.%d", (port))) /* * We do this because sun_len is in BSD's struct, while others don't. |