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.k573MpB27296@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] Win32 sysconfig -> pg_service.conf  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Tom Lane wrote:
> 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.

Good point.  Would someone test that?  Is GetFullPathName() the proper
direction?

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