Re: postgres cust types

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: postgres cust types
Дата
Msg-id CAFj8pRB-rrifXdiMX5Ov4OAx4AvgbCop=j-F06tFAc3CKWnczg@mail.gmail.com
обсуждение исходный текст
Ответ на postgres cust types  (Ramesh T <rameshparnanditech@gmail.com>)
Ответы Re: postgres cust types  (Ramesh T <rameshparnanditech@gmail.com>)
Список pgsql-general


2015-02-03 13:49 GMT+01:00 Ramesh T <rameshparnanditech@gmail.com>:
Hi ,
      i created type on postgres
                             CREATE  TYPE order_list AS (order_id bigint);
it works fine.

then, i try to create a other table type using above created type.
like,
--create or replace type suborder_list_table as table of suborder_list;
this on oracle formate 

This syntax is not supported in Pg - resp. a collections are not supported by PostgreSQL.

use a arrays instead

Regards

Pavel Stehule
 

i need to convert postgres and how to create a table type in postgres is it possible
or 
else any other method.

FYI,i am using these types in a function.

thanks in advance,




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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: dbmsscheduler
Следующее
От: Oliver
Дата:
Сообщение: Re: Change postgresql encoding