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

From Carlo Stonebanks
Subject Sequence names have 64 character limit?
Date
Msg-id BLU0-SMTP8759FE233A3ADAADF06EC096BF0@phx.gbl
Whole thread Raw
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: Carlo Stonebanks
Date:
Subject: Sequence names have 64 character limit?
Next
From: Jerry Sievers
Date:
Subject: Re: Sequence names have 64 character limit?