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

From Bruce Momjian
Subject Re: [HACKERS] Win32 sysconfig -> pg_service.conf
Date
Msg-id 200606070322.k573MA727171@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] Win32 sysconfig -> pg_service.conf  ("Andrew Dunstan" <andrew@dunslane.net>)
Responses Re: [HACKERS] Win32 sysconfig -> pg_service.conf
List pgsql-patches
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?  How is it different from the path we pass to it?  Aren't all
those paths full already?

--
  Bruce Momjian   http://candle.pha.pa.us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: table/index fillfactor control
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Win32 sysconfig -> pg_service.conf