Re: psql \ir filename normalization

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: psql \ir filename normalization
Дата
Msg-id CA+TgmoYAxBnKQTp2BYtk8Z+DTTSSVmHSnq4bMu6u8TG=L12RrA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: psql \ir filename normalization  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: psql \ir filename normalization
Список pgsql-hackers
On Mon, Nov 21, 2011 at 2:30 PM, Bruce Momjian <bruce@momjian.us> wrote:
> 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?

Oh, wait a minute.  I was thinking \ir was in 9.1, but it's not: it
was committed after the branch.  So I guess this only needs to be
fixed in master, which is much less scary.

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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: psql \ir filename normalization
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: psql \ir filename normalization