Re: [HACKERS] Win32 sysconfig -> pg_service.conf

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: david(at)fetter(dot)org, pgsql-patches(at)postgresql(dot)org
Subject: Re: [HACKERS] Win32 sysconfig -> pg_service.conf
Date: 2006-06-07 12:07:24
Message-ID: 4486C17C.8050006@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2006-06-07 12:28:06 Re: [HACKERS] Win32 sysconfig -> pg_service.conf
Previous Message ITAGAKI Takahiro 2006-06-07 06:09:31 Re: fillfactor using WITH syntax