Re: Typed tables

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Typed tables
Дата
Msg-id 24814.1257442732@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Typed tables  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Typed tables
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> One thing I'm not sure of is whether to keep the implicit row type in
> that case.  That is, would the above command sequence still create a
> "persons" type?

Are you intending that the table and the original composite type are
independent, or are still tied together --- ie, does ALTER TABLE ADD
COLUMN or similar affect the composite type?

If not, you *must* have a rowtype that is associated with the table.
        regards, tom lane


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Typed tables
Следующее
От: Jeff Davis
Дата:
Сообщение: Re: operator exclusion constraints