Re: BUG #8260: problem with sequence and tablename

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #8260: problem with sequence and tablename
Дата
Msg-id 25002.1372353006@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #8260: problem with sequence and tablename  (daniel.degasperi@r3-gis.com)
Ответы Re: BUG #8260: problem with sequence and tablename  (Daniel Degasperi <daniel.degasperi@r3-gis.com>)
Список pgsql-bugs
daniel.degasperi@r3-gis.com writes:
> CREATE TABLE t23456789012345678901234567890123456789012345678901
> (
>   t1234_id serial,
>   PRIMARY KEY (t1234_id)
> )
> WITH (
>   OIDS=FALSE
> );

> This generated the sequence:

> CREATE SEQUENCE
> t2345678901234567890123456789012345678901234567890_t1234_id_seq

That's operating as designed.

> The table-part in the sequence name was truncated.

Would you rather it failed entirely?  You're up against the limit on
name length (63 bytes in a standard Postgres build).

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Christopher Browne
Дата:
Сообщение: Re: BUG #8260: problem with sequence and tablename
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #8257: Multi-Core Restore fails when containing index comments