Re: Name limitation question - Mailing list pgsql-novice

From Tom Lane
Subject Re: Name limitation question
Date
Msg-id 25078.1056549496@sss.pgh.pa.us
Whole thread Raw
In response to Re: Name limitation question  (Kaarel <kaarel@future.ee>)
Responses Re: Name limitation question  (greg@turnstep.com)
List pgsql-novice
Kaarel <kaarel@future.ee> writes:
>> No, the default is still 63, and will probably stay there.

> Isn't the SQL standard 128 chars?

Yes.  We tested that a few months ago when we raised the limit from 31
to 63, and determined that there was a nontrivial additional speed and
space penalty to raising it to 128.  Since nobody could muster a
real-world use case that actually required 128, we didn't go there.
But if you feel you need to check off that particular SQL-compliance
box, see NAMEDATALEN in postgres_ext.h.

            regards, tom lane

pgsql-novice by date:

Previous
From: Nabil Sayegh
Date:
Subject: Re: recursive function needs static variable
Next
From: greg@turnstep.com
Date:
Subject: Re: Name limitation question