Re: table name length restriction - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: table name length restriction
Date
Msg-id 200808151621.40573.peter_e@gmx.net
Whole thread Raw
In response to table name length restriction  (Thomas Finneid <tfinneid@student.matnat.uio.no>)
List pgsql-general
Am Friday, 15. August 2008 schrieb Thomas Finneid:
> First question is, what is the rationale behind having a limit on the
> table name?

Is is an implementation detail.  Fixed-length name fields are more efficient
to process.  And when you have fixed-length fields you need to choose some
reasonable limit to avoid wasting too much space.

> Secondly Any ideas on how to solve this problem? Is the name length
> limit configurable?

Yes, edit NAMEDATALEN in src/include/pg_config_manual.h and rebuild.

pgsql-general by date:

Previous
From: Thomas Finneid
Date:
Subject: table name length restriction
Next
From: "Gauthier, Dave"
Date:
Subject: Killing active users