Re: BUG #10526: bad sequence rename

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #10526: bad sequence rename
Дата
Msg-id 19803.1401892558@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #10526: bad sequence rename  (gnuplanet@gmail.com)
Список pgsql-bugs
gnuplanet@gmail.com writes:
> xxx=> create sequence a;
> CREATE SEQUENCE
> xxx=> alter sequence a rename to b;
> ALTER SEQUENCE
> xxx=> select sequence_name from b;
>  sequence_name
> ---------------
>  a
> (1 row)

This is not a bug; it's just how sequences work.

20-20 hindsight would suggest that the sequence name should never have
been included in the sequence data at all, but it's there and it will
always represent the original sequence name.

            regards, tom lane

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

Предыдущее
От: Vik Fearing
Дата:
Сообщение: Re: BUG #10526: bad sequence rename
Следующее
От: Keith Fiske
Дата:
Сообщение: Re: [HACKERS] BUG #9652: inet types don't support min/max