Re: postgresql v7.1.3 bug report

Поиск
Список
Период
Сортировка
Искать
От
Tatsuo Ishii
Тема
Re: postgresql v7.1.3 bug report
Дата
Msg-id
20010905130835K.t-ishii@sra.co.jp
Ответ на
Список
Дерево обсуждения
postgresql v7.1.3 bug report "pierre" <cti848@www.textilenet.org.tw>
Re: postgresql v7.1.3 bug report Tom Lane <tgl@sss.pgh.pa.us>
Re: postgresql v7.1.3 bug report Tatsuo Ishii <t-ishii@sra.co.jp>
Re: postgresql v7.1.3 bug report Tom Lane <tgl@sss.pgh.pa.us>
Re: postgresql v7.1.3 bug report Tatsuo Ishii <t-ishii@sra.co.jp>
> Tatsuo Ishii  writes:
> > Note that EUC_TW or any multibyte encodings that are allowed for
> > backend side, do not contain such ASCII special characters as "|" and
> > should be safe for the parser and the regexp routines.
> 
> But the point is that a pg_wchar is being squeezed down to a char.
> PEEK() produces a pg_wchar, no?

Oh I see.

Actually "c" is used soly to judge if it's '|' or some other stop
(ASCII) characters, so there is no need for changing it to pg_wchar
even if it could be squeezed down to a char. However, someday someone
might use c for other purpose, and it would be a good idea to prepare
for such kind of disaster. Will fix.
--
Tatsuo Ishii
В списке pgsql-bugs по дате отправления
От: Tomasz Zielonka
Дата:
От: Bruce Momjian
Дата:
Сообщение: Re: create view bug
FAQ