Peter Eisentraut <[EMAIL PROTECTED]> writes: > #define UNIXSOCK_PATH(sun,port,defpath) \ > snprintf((sun).sun_path, sizeof((sun).sun_path), "%s/.s.PGSQL.%d", \ > (defpath), (port)) > and make "/tmp" the default in guc.c. No, because this has to work on the client side too. The default path *must* be determined at compile time, or clients and servers will be unable to find each other. I wouldn't object to having "/tmp" be given as a macro PG_STD_SOCKET_DIR in config.h, making it potentially configurable on a site-wide basis, but that's as far as I think we can go. regards, tom lane
- Re: [HACKERS] Re: UUNET socket-file-location patch Tom Lane
- Re: [HACKERS] Re: UUNET socket-file-location patch Larry Rosenman
- Re: [HACKERS] Re: UUNET socket-file-location patch Bruce Momjian
- Re: [HACKERS] Re: UUNET socket-file-location p... Tom Lane
- Re: [HACKERS] Re: UUNET socket-file-locati... Bruce Momjian
- Re: [HACKERS] Re: UUNET socket-file-location patch Tom Lane
- Re: [HACKERS] Re: UUNET socket-file-location patch Bruce Momjian
- Re: [HACKERS] Re: UUNET socket-file-location patch Tom Lane
- Re: [HACKERS] Re: UUNET socket-file-location p... Bruce Momjian
- Re: [HACKERS] Re: UUNET socket-file-location p... Bruce Momjian
- Re: [HACKERS] Re: UUNET socket-file-location patch Tom Lane
- Re: [HACKERS] Re: UUNET socket-file-location patch Tom Lane
- Re: [HACKERS] Re: UUNET socket-file-location patch Bruce Momjian