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

Re: psql \ir filename normalization

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
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:05:07
Message-ID: 201111211805.pALI57V25371@momjian.us (view raw or flat)
Thread:
Lists: pgsql-hackers
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.

-- 
  Bruce Momjian  <bruce(at)momjian(dot)us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +

Attachment: /rtmp/join
Description: text/x-diff (552 bytes)

In response to

Responses

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2011-11-21 18:12:47
Subject: Re: Client library cross-compiling: Win32, Win64, MacOSX. Possible?
Previous:From: Joshua BerkusDate: 2011-11-21 17:57:54
Subject: Re: ISN was: Core Extensions relocation

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