Re: Maximum size of identifiers names ?

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: fhallais <fhallais(at)intco(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Maximum size of identifiers names ?
Date: 2002-03-03 11:06:14
Message-ID: 20020303220614.A23188@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, Mar 03, 2002 at 02:18:18AM -0500, fhallais wrote:
> Hi guys,
>
> I am porting an application (NOLA) originally developed in MySQL
> to PostgreSQL.
>
> Some very long identifiers names are being truncated.
>
> Would somebody tell me what is the default maximum size for an
> identifier name in PostgreSQL 7.2 ?
>
> Is there a way to increase the default size ?

The default is 32 characters. Yes it is possible to increase them though it
requires a recompile of both client and server setups IIRC. (Though client
maybe only if you use NOTIFY). Please look through the mailing list archives
for more details.

--
Martijn van Oosterhout <kleptog(at)svana(dot)org>
http://svana.org/kleptog/
> If the company that invents a cure for AIDS is expected to make their
> money back in 17 years, why can't we ask the same of the company that
> markets big-titted lip-syncing chicks and goddamn cartoon mice?

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Randy Widell 2002-03-03 15:41:34 PostgreSQL under Cygwin...
Previous Message Thomas T. Thai 2002-03-03 07:53:48 pg_restore ignore existing function