Re: [HACKERS] Win32 sysconfig -> pg_service.conf - Mailing list pgsql-patches

From Tom Lane
Subject Re: [HACKERS] Win32 sysconfig -> pg_service.conf
Date
Msg-id 23987.1149634348@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] Win32 sysconfig -> pg_service.conf  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: [HACKERS] Win32 sysconfig -> pg_service.conf
List pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> On Win32, patch applied to return path if GetShortPathName() fails (no
> short name, path does not exist), rather than returning nothing.

Hm, are you sure GetShortPathName will never modify the path before
failing?  For instance, I'd be a bit worried about cases where it
successfully adjusts some components of the path before finding one that
doesn't exist.

            regards, tom lane

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Win32 sysconfig -> pg_service.conf
Next
From: "Andrew Dunstan"
Date:
Subject: Re: [HACKERS] Win32 sysconfig -> pg_service.conf