Re: [BUGS] BUG #14662: 'has_table_privilege()' function fails with error, "invalid name syntax" when using Japanese symbols
В списке pgsql-bugs по дате отправления:
| От | 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
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера