Re: [HACKERS] Lex and things...

Поиск
Список
Период
Сортировка
От Adriaan Joubert
Тема Re: [HACKERS] Lex and things...
Дата
Msg-id 37C29F86.62ACC4D0@albourne.com
обсуждение исходный текст
Ответ на RE: [HACKERS] Lex and things...  ("Ansley, Michael" <Michael.Ansley@intec.co.za>)
Список pgsql-hackers
> I'm afraid not. There is arbitrary limit (named NAMEDATALEN) in lexer.
> If identifier exeeds it, it gets '\0' at that limit, so truncated
> effectively. Strings are also limited by MAX_PARSE_BUFFER which is
> finally something like QUERY_BUF_SIZE = 8k*2.

I think NAMEDATALEN referes to the size of a NAME field in the database,
which is used to store attribute names etc. So you cannot exceed
NAMEDATALEN, or the identifier won't fit into the system tables.

Adriaan


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