> Peter Eisentraut <[EMAIL PROTECTED]> writes: > > Should the parameter determine the directory or the full file name? I'd > > go for the former, but it's not a strong case. > > Directory was what I had in mind too, but I'm not sure what Bruce > actually did ... I did whatever the patch did. I believe it is the full path. I believe it is used here: #define UNIXSOCK_PATH(sun,port,defpath) \ ((defpath && defpath[0] != '\0') ? (strncpy((sun).sun_path, defpath, sizeof((sun).sun_path)), (sun).sun_path[sizeof((sun).sun_path)-1] = '\0') : sprintf((sun).sun_path, "/tmp/.s.PGSQL.%d", (port))) -- Bruce Momjian | http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
- [HACKERS] Re: UUNET socket-file-location patch Tom Lane
- [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... Larry Rosenman
- Re: [HACKERS] Re: UUNET socket-file-location p... Bruce Momjian
- Re: [HACKERS] Re: UUNET socket-file-locati... Tom Lane
- Re: [HACKERS] Re: UUNET socket-file-l... 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 p... Tom Lane
- Re: [HACKERS] Re: UUNET socket-file-locati... Bruce Momjian
- 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 Tom Lane
- Re: [HACKERS] Re: UUNET socket-file-location patch Bruce Momjian