Re: [HACKERS] Lex and things...

From: Adriaan Joubert <a(dot)joubert(at)albourne(dot)com>
To:
Cc: "'pgsql-hackers(at)postgresql(dot)org'" <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] Lex and things...
Date: 1999-08-24 13:35:02
Message-ID: 37C29F86.62ACC4D0@albourne.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Leon 1999-08-24 14:09:06 Re: [HACKERS] Lex and things...
Previous Message Ansley, Michael 1999-08-24 13:13:15 RE: [HACKERS] Lex and things...