Re: table name size - Mailing list pgsql-general

From Tom Lane
Subject Re: table name size
Date
Msg-id 17906.1467381819@sss.pgh.pa.us
Whole thread Raw
In response to Re: table name size  (Sridhar N Bamandlapally <sridhar.bn1@gmail.com>)
List pgsql-general
Sridhar N Bamandlapally <sridhar.bn1@gmail.com> writes:
> Is there any specific reason not releasing any version with "NAMEDATALEN 255"
> in file src/include/pg_config_manual.h ?

It would bloat the system catalogs by a rather substantial amount, as well
as in-memory images of those catalogs (catcaches).  Seeing that the field
demand for this is next to nil, we're not very likely to do it just for
nominal standards compliance.  But you're free to build your own copy that
way if you like --- that's why it's configurable.

BTW, you might as well set it to 256 not 255: alignment considerations
mean that the odd byte would just be wasted in most or all of the
catalogs.

            regards, tom lane


pgsql-general by date:

Previous
From: Sridhar N Bamandlapally
Date:
Subject: Re: Sub-query having NULL row returning FALSE result
Next
From: shankha
Date:
Subject: Update multiple rows in a table with different values