Re: [HACKERS] Lex and things... - Mailing list pgsql-hackers

From Adriaan Joubert
Subject Re: [HACKERS] Lex and things...
Date
Msg-id 37C29F86.62ACC4D0@albourne.com
Whole thread Raw
In response to RE: [HACKERS] Lex and things...  ("Ansley, Michael" <Michael.Ansley@intec.co.za>)
List 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 by date:

Previous
From: "Ansley, Michael"
Date:
Subject: RE: [HACKERS] Lex and things...
Next
From: Leon
Date:
Subject: Re: [HACKERS] Lex and things...