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

From Andrew Dunstan
Subject Re: [HACKERS] Win32 sysconfig -> pg_service.conf
Date
Msg-id 4486C17C.8050006@dunslane.net
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 wrote:

>Andrew Dunstan wrote:
>
>
>>Bruce Momjian said:
>>
>>
>>>On Win32, patch applied to return path if GetShortPathName() fails (no
>>>
>>>
>>short name, path does not exist), rather than returning nothing.
>>
>>
>>What made you choose this rather than GetFullPathName?
>>
>>
>
>Sure, we can do that.  Does GetFullPathName() work if the path does not
>exist?
>

yes. see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/getfullpathname.asp

> How is it different from the path we pass to it?  Aren't all
>those paths full already?
>
>
>

If they are then it probably doesn't matter.

cheers

andrew

pgsql-patches by date:

Previous
From: "Jaime Casanova"
Date:
Subject: Re: fori stmt with by keyword was:(Re: [HACKERS] for statement,
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Win32 sysconfig -> pg_service.conf