Re: [Q] sequence and index name limits in 8.4

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: V S P <toreason(at)fastmail(dot)fm>
Cc: postgres general <pgsql-general(at)postgresql(dot)org>
Subject: Re: [Q] sequence and index name limits in 8.4
Date: 2009-06-28 01:47:11
Message-ID: dcc563d10906271847k39b99127nf1af20577cf43678@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sat, Jun 27, 2009 at 7:09 PM, V S P<toreason(at)fastmail(dot)fm> wrote:
> Searched docs and the web but only saw references to the older version
> of postgres
> where changing source code was recommended ( NAMEDATALEN) if more than
> 31 characters
> in the names are desired.
>
> wanted to ask if this is still the case in 8.4 (I need at least 128)

Unless you want to compile your own version, I think the curent limit
is 64 or 63 characters. There are real and measurable performance hits
as you go over that number.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2009-06-28 02:19:15 Re: [Q] sequence and index name limits in 8.4
Previous Message Martin Gainty 2009-06-28 01:34:27 Re: Switching from MySQL: ON DUPLICATE KEY UPDATE, plpgsql function