Sequence names have 64 character limit? - Mailing list pgsql-general

From Carlo Stonebanks
Subject Sequence names have 64 character limit?
Date
Msg-id BLU0-SMTP9282151044ABC2F2EFB408B1BF0@phx.gbl
Whole thread Raw
Responses Re: Sequence names have 64 character limit?  (Jerry Sievers <gsievers19@comcast.net>)
List 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

pgsql-general by date:

Previous
From: Davi Duarte
Date:
Subject: Pl/Python error when import "from __future__"
Next
From: Carlo Stonebanks
Date:
Subject: Sequence names have 64 character limit?