Bug with ALTER TABLE

Поиск
Список
Период
Сортировка
От Ashley Clark
Тема Bug with ALTER TABLE
Дата
Msg-id 20010808134855.A15060@ghoti.org
обсуждение исходный текст
Ответы Re: Bug with ALTER TABLE  (Ashley Clark <aclark@ghoti.org>)
Re: Bug with ALTER TABLE  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
I've discovered a bug in ALTER TABLE behaviour when it comes to
renaming a view.

I'm not sure if renaming a view is supported but Postgres will let you
do it with ALTER TABLE aview RENAME TO aview2; SELECT operations still
work on the resulting view after this command but a dump or \d aview2
will now print out :

oldplumbing=# \d t
                 View "t"
 Attribute  |       Type        | Modifier
------------+-------------------+----------
 ?column?   | text              |
 address    | character varying |
 builder    | character varying |
 subdiv     | character varying |
 plan_#     | character varying |
 sched_date | date              |
 plan_id    | integer           |
View definition: Not a view

This is obviously not correct.

--
chalk slayer

Вложения

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Off Topic: Blocking Spam
Следующее
От: Ashley Clark
Дата:
Сообщение: Re: Bug with ALTER TABLE