Re: [HACKERS] PostgreSQL 7.3: help on new CREATE TYPE
От
Tom Lane
Тема
Re: [HACKERS] PostgreSQL 7.3: help on new CREATE TYPE
Дата
Msg-id
23647.1032272571@sss.pgh.pa.us
Ответ на
Re: [HACKERS] PostgreSQL 7.3: help on new CREATE TYPE (Jerome Chochon)
Список
Дерево обсуждения
Re: [HACKERS] PostgreSQL 7.3: help on new CREATE TYPE "Jerome Chochon" <jerome.chochon@ensma.fr>
Re: [HACKERS] PostgreSQL 7.3: help on new CREATE TYPE Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] PostgreSQL 7.3: help on new CREATE TYPE "Christopher Kings-Lynne" <chriskl@familyhealth.com.au>
"Jerome Chochon" writes: > Can I use this new type like other user-type ? > CREATE TABLE person (his_name VARCHAR, his_adress adress); > ...where adress is CREATE TYPE adress AS (number int, street text, country > VARCHAR); Not at the moment, though that might be an interesting direction to pursue in future releases. At present, the only thing such a type is useful for is to define the argument or result type of a function that takes or returns records. regards, tom lane
В списке pgsql-general по дате отправления