| От | Peter Eisentraut |
|---|---|
| Тема | Re: Typed tables |
| Дата | |
| Msg-id | 1263162865.25062.2.camel@vanquo.pezone.net обсуждение исходный текст |
| Ответ на | Typed tables (Peter Eisentraut <peter_e@gmx.net>) |
| Ответы |
Re: Typed tables
Re: Typed tables |
| Список | pgsql-hackers |
On tor, 2009-11-05 at 19:24 +0200, Peter Eisentraut wrote: > I'm planning to work on typed tables support. The idea is that you > create a table out of a composite type (as opposed to the other way > around, which is currently done automatically). > > CREATE TYPE persons_type AS (name text, bdate date); > > CREATE TABLE persons OF persons_type; > > Or the fancy version: > > CREATE TABLE persons OF persons_type ( PRIMARY KEY (name) ); And here is the first patch for that. The feature is complete as far as I had wanted it. I would like to add ALTER TYPE support, but that can come as a separate patch.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера