Re: psql \ir filename normalization - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: psql \ir filename normalization
Date
Msg-id 201111211930.pALJUb309517@momjian.us
Whole thread Raw
In response to Re: psql \ir filename normalization  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: psql \ir filename normalization
List pgsql-hackers
Robert Haas wrote:
> On Mon, Nov 21, 2011 at 1:05 PM, Bruce Momjian <bruce@momjian.us> wrote:
> > Robert Haas wrote:
> >> Argh. ?The root of the problem here seems to be that
> >> join_path_components() feels entitled to arbitrarily insert a pathname
> >> separator at the front of the output string even if its first input
> >> didn't begin with one originally. ?Lame!
> >
> > The attached patch fixes this report, I think.
> 
> Looks sensible.  Keep in mind we need to back-patch this.

Oh.  Well, with no bug reports about it, does that make sense?  Do we
have any code that relies on the old behavior?

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: RFC: list API / memory allocations
Next
From: Robert Haas
Date:
Subject: Re: psql \ir filename normalization