Sequence names have 64 character limit?

From: Carlo Stonebanks <carlo(at)stonebanks(dot)ca>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Sequence names have 64 character limit?
Date: 2011-03-31 19:16:05
Message-ID: BLU0-SMTP8759FE233A3ADAADF06EC096BF0@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Whenever I attempt to create a sequence whether this is done directly via
CREATE SEQUENCE or indrirectly vial declaring a column as SERIAL, PG
truncates it to 64 characters. Is this a documented limitation? I can't find
a reference to it. Is it possible to change this limitation?

Our table names are and fully descriptive, and our code depends on a
predictable sequence naming convention of the PG default
<table>_<column>_seq.

Yes, I know that it's not a great idea to depend on consistent naming
conventions!

Carlo

Browse pgsql-general by date

  From Date Subject
Next Message Mike Orr 2011-03-31 19:19:45 Re: Counting records in a child table
Previous Message Steve Clark 2011-03-31 19:07:51 Re: 7.4 quoting