Re: Sequence names have 64 character limit?
| От | Adrian Klaver |
|---|---|
| Тема | Re: Sequence names have 64 character limit? |
| Дата | |
| Msg-id | 4D94F230.6040608@gmail.com обсуждение исходный текст |
| Ответ на | Re: Sequence names have 64 character limit? (Jerry Sievers <gsievers19@comcast.net>) |
| Ответы |
Re: Sequence names have 64 character limit?
|
| Список | pgsql-general |
On 03/31/2011 02:13 PM, Jerry Sievers wrote: > Carlo Stonebanks<carlo@stonebanks.ca> writes: > >> 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 >> cant find a reference to it. Is it possible to change this >> limitation? > > See the "name" data type. > > As for enlarging it; I'll bet yes but you'll have to compile from source > to do this. > > Someone on the hackers list can better explain :-) See: http://www.postgresql.org/docs/9.0/interactive/sql-syntax-lexical.html 4.1.1. Identifiers and Key Words > >> 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 its not a great idea to depend on consistent naming >> conventions! >> >> Carlo >> > -- Adrian Klaver adrian.klaver@gmail.com
В списке pgsql-general по дате отправления: