| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера