CREATE TABLE ... LIKE composite type

Поиск
Список
Период
Сортировка
От Mark Gibson
Тема CREATE TABLE ... LIKE composite type
Дата
Msg-id 40D2BEC4.9000700@cromwell.co.uk
обсуждение исходный текст
Ответы Re: CREATE TABLE ... LIKE composite type  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi,   Is there any reason that the following shouldn't work:

CREATE TABLE my_new_table (LIKE my_composite_type);

I get the following error (in 7.4.2):

ERROR:  "my_composite_type" is a composite type

With the improved handling of composite types,
will this work in 7.5?

Cheers
-- 
Mark Gibson <gibsonm |AT| cromwell |DOT| co |DOT| uk>
Web Developer & Database Admin
Cromwell Tools Ltd.
Leicester, England.


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

Предыдущее
От: "Zeugswetter Andreas SB SD"
Дата:
Сообщение: Re: signal 11 on AIX: 7.4.2
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: signal 11 on AIX: 7.4.2