Re: BUG #19455: ALTER TABLE RENAME will rename a sequence

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #19455: ALTER TABLE RENAME will rename a sequence
Дата
Msg-id 823735.1776090122@sss.pgh.pa.us
обсуждение
Ответ на BUG #19455: ALTER TABLE RENAME will rename a sequence  (PG Bug reporting form <noreply@postgresql.org>)
Список pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
> Is this expected behavior? ALTER TABLE RENAME will rename a sequence.

Yes, it is.  It'll work on views and (most?) other kinds of relations
too.

To some extent this is a hangover from before we had the more
specialized variants.  But it can be handy to not worry too much
about just what kind of relation you're renaming, and tightening
that up would likely break some applications, so we haven't.

            regards, tom lane



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