Обсуждение: Sequence names have 64 character limit?

Поиск
Список
Период
Сортировка

Sequence names have 64 character limit?

От
Carlo Stonebanks
Дата:

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