Re: create table and data types

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: create table and data types
Дата
Msg-id
23215.1139954794@sss.pgh.pa.us
Ответ на
create table and data types (Maciej Piekielniak)
Список
Дерево обсуждения
Re: create table and data types "Bath, David" <dave.bath@unix.net>
Maciej Piekielniak  writes:
>   Is anybody know how create field in a new table with data type accuiring from a field in other table?

Sorry, the %TYPE syntax only works in function declarations at the
moment.

It could possibly be made to work in table declarations --- there are
syntactic conflicts with allowing it in general, but I'm not sure that
objection applies to table declarations.  But it's not there today.
		regards, tom lane

В списке pgsql-sql по дате отправления
От: Maciej Piekielniak
Дата:
От: Ken Hill
Дата:
FAQ