Re: [pgsql-jdbc] dollar-quoted CREATE FUNCTION statement fails

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [pgsql-jdbc] dollar-quoted CREATE FUNCTION statement fails
Дата
Msg-id 15670.1159642557@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [pgsql-jdbc] dollar-quoted CREATE FUNCTION statement fails  (Michael Paesold <mpaesold@gmx.at>)
Ответы Re: [pgsql-jdbc] dollar-quoted CREATE FUNCTION statement fails
Список pgsql-jdbc
Michael Paesold <mpaesold@gmx.at> writes:
> scan.l defines:
> dolq_start        [A-Za-z\200-\377_]
> dolq_cont        [A-Za-z\200-\377_0-9]

> Some questions here:
> - What are the \200-\377 characters?

Basically, that's going to cover any non-7-bit-ASCII character
(including multibyte characters).  I'm not sure if Java has an
equivalent of ctype.h's isascii() but that'd probably be what
you want to use.  Checking if the Unicode code point is > 127
would work too, if Java lets you do that.

            regards, tom lane

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

Предыдущее
От: Michael Paesold
Дата:
Сообщение: Re: [pgsql-jdbc] dollar-quoted CREATE FUNCTION statement fails
Следующее
От: Michael Paesold
Дата:
Сообщение: Re: [pgsql-jdbc] dollar-quoted CREATE FUNCTION statement fails