Sequence names have 64 character limit?

Started by Carlo Stonebanksabout 15 years ago1 messagesgeneral
Jump to latest
#1Carlo Stonebanks
carlo@stonebanks.ca

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