Skip site navigation (1) Skip section navigation (2)

Re: psql \ir filename normalization

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Josh Kupershmidt <schmiddy(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Gurjeet Singh <singh(dot)gurjeet(at)gmail(dot)com>
Subject: Re: psql \ir filename normalization
Date: 2011-11-21 18:45:18
Message-ID: CA+TgmoYnWag9yE+7OvQoqC6VY4fd2TGbU9=p+vo7ta+YWGA0iw@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On Mon, Nov 21, 2011 at 1:05 PM, Bruce Momjian <bruce(at)momjian(dot)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.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

pgsql-hackers by date

Next:From: Robert HaasDate: 2011-11-21 18:49:21
Subject: Re: proposal: better support for debugging of overloaded functions
Previous:From: Robert HaasDate: 2011-11-21 18:43:09
Subject: Re: COUNT(*) and index-only scans

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group