Re: [BUGS] BUG #14662: 'has_table_privilege()' function fails with error, "invalid name syntax" when using Japanese symbols

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUGS] BUG #14662: 'has_table_privilege()' function fails with error, "invalid name syntax" when using Japanese symbols
Дата
Msg-id 5408.1495215868@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [BUGS] BUG #14662: 'has_table_privilege()' function fails with error, "invalid name syntax" when using Japanese symbols  (Justin Muise <JMuise@esri.com>)
Ответы Re: [BUGS] BUG #14662: 'has_table_privilege()' function fails witherror, "invalid name syntax" when using Japanese symbols  (Justin Muise <JMuise@esri.com>)
Список pgsql-bugs
Justin Muise <JMuise@esri.com> writes:
> Thank you for your quick response! Please see the attached image.

Hm.  If I'm reading that correctly, you've got encoding set to UTF8
but the OS is going to think the encoding is WIN1252, which will likely
affect the behavior of isspace(), which'd successfully break this
function.  I'm not sure how the system allowed you to do that.

I wonder though whether it wouldn't be better for SplitIdentifierString
to use scanner_isspace() rather than isspace().  That would cause it
to not treat things like   as whitespace, but maybe that's OK.
        regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] BUG #14663: Unexpected rounding changes for money type divided by bigint
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] Re: [BUGS] BUG #14657: Server process segmentationfault in v10, May 10th dev snapshot