| От | Jeff Davis |
|---|---|
| Тема | Re: composite types in 7.3 |
| Дата | |
| Msg-id | 200209301753.43143.list-pgsql-general@empires.org обсуждение исходный текст |
| Ответ на | Re: composite types in 7.3 (Joe Conway <mail@joeconway.com>) |
| Список | pgsql-general |
> Not at the moment. In fact, as of current (meaning by the time beta3 is
> packaged up, if it's not already this way in beta2) cvs you'll get:
>
> test=# create type mytype as (a int, b text);
> CREATE TYPE
> test=# create table mytable(x mytype,y int);
> ERROR: Attribute "x" has composite type mytype
>
> There have been brief discussions of allowing composite types as table
> column data types in some future release, but nothing serious yet.
I don't have any particular need for that feature, but I found it interesting.
I imagine that if the feature did exist like that, it would require a lot of
extra syntax for the queries.
Thanks,
Jeff
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера