> Peter Eisentraut <peter_e@gmx.net> 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 pgman@candle.pha.pa.us | (610)
853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill,
Pennsylvania19026