Re: \x output blowing up

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: \x output blowing up
Дата
Msg-id 20050925091829.GA7743@svana.org
обсуждение исходный текст
Ответ на Re: \x output blowing up  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
On Sat, Sep 24, 2005 at 07:18:16PM -0400, Bruce Momjian wrote:
>
> Well, it seems we are going to have to fix it somehow for 8.1.  It is
> not crashing here so I can't work up a patch.  Can you submit a minimal
> fix for 8.1?  Thanks.

Ah, it would only happen if your encoding was UTF-8 since that's the
only case psql handles differently. I've attached a patch which fixes
it. With a bit more rearrangement you could probably simplify it a bit
but this works.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Вложения

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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: \d on database with a lot of tables is slow
Следующее
От: Thomas Hallgren
Дата:
Сообщение: Re: stack depth limit exceeded problem.