Re: v7.4.1 text_position() patch

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: v7.4.1 text_position() patch
Дата
Msg-id 20849.1075503966@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: v7.4.1 text_position() patch  ("Korea PostgreSQL Users' Group" <pgsql-kr@postgresql.or.kr>)
Ответы Re: v7.4.1 text_position() patch  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Список pgsql-patches
"Korea PostgreSQL Users' Group" <pgsql-kr@postgresql.or.kr> writes:
>> Hm.  I don't think it can actually fail, because the wchar strings are
>> zero-terminated.

> [ yes it can ]

You're right.  I was confused at first because I couldn't reproduce the
problem, but then I realized it's because I'm running with
CLOBBER_FREED_MEMORY enabled, so the junk beyond the end of the string
won't match the other string.

Will commit the patch.  Thanks.

            regards, tom lane

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

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: Patch for psql startup clarity
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: v7.4.1 text_position() patch