how to use composite type

Поиск
Список
Период
Сортировка
От bigapple
Тема how to use composite type
Дата
Msg-id 20021227015613.52F291CFE10DB@sm203.163.com
обсуждение исходный текст
Ответы Re: how to use composite type  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Список pgsql-hackers
hi,
 I created a composite type as follows, but I couldn't know how to use it.

test=# create type test_type as (id int, name char(20));
CREATE TYPE
test=# create table student( a test_type);
ERROR:  Attribute "a" has composite type test_type

who can tell me? thanks!bigapple
        
          2002-12-27





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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Postgres is ignoring TCL_INCLUDE_SPEC
Следующее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Re: how to use composite type