Re: pg_dump --binary-upgrade vs. ALTER TYPE ... DROP ATTRIBUTE

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_dump --binary-upgrade vs. ALTER TYPE ... DROP ATTRIBUTE
Дата
Msg-id 4598.1302752805@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_dump --binary-upgrade vs. ALTER TYPE ... DROP ATTRIBUTE  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: pg_dump --binary-upgrade vs. ALTER TYPE ... DROP ATTRIBUTE  (Noah Misch <noah@leadboat.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> If we adopt the elsewhere-proposed approach of forbidding the use of
> rowtypes to create typed tables, the circularity-checking logic here
> can become simpler.  I think it's not actually water-tight right now:

> rhaas=# create table a (x int);
> CREATE TABLE
> rhaas=# create table b of a;
> CREATE TABLE
> rhaas=# create table c () inherits (b);
> CREATE TABLE
> rhaas=# create table d of c;
> CREATE TABLE
> rhaas=# alter table a of d;
> ALTER TABLE

"alter table a of d"?  What the heck does that mean, and why would it be
a good idea?
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: POSIX shared memory redux
Следующее
От: Andrew Chernow
Дата:
Сообщение: Re: Itanium HP-UX build failure, register stack