Re: [GENERAL] postgres cust types

2015-02-16 Thread Ramesh T
exactly what I am trying convert oracle to postgres , following 1)first i am creating type in oracle CREATE TYPE suborder_list AS (suborder_id int); 2)second creating table type in oracle create or replace type suborder_list_table as table of suborder_list; 3)i am using above 1 and 2 created ty

Re: [GENERAL] postgres cust types

2015-02-14 Thread Adrian Klaver
On 02/14/2015 08:58 AM, Ramesh T wrote: exactly what I am trying convert oracle to postgres , following 1)first i am creating type in oracle CREATE TYPE suborder_list AS (suborder_id int); 2)second creating table type in oracle create or replace type suborder_list_table as table of suborder_l

Re: [GENERAL] postgres cust types

2015-02-08 Thread Pavel Stehule
2015-02-03 13:49 GMT+01:00 Ramesh T : > 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_tabl

Re: [GENERAL] postgres cust types

2015-02-03 Thread Adrian Klaver
On 02/03/2015 07:50 AM, Ramesh T wrote: Am CCing the list. CREATE TYPE order_list AS (order_id bigint); i created above type Not sure that the above does anything. and i am using order_list, trying creating table type (datatype) *create or replace type order_list_table as table of order

Re: [GENERAL] postgres cust types

2015-02-03 Thread Adrian Klaver
On 02/03/2015 04:49 AM, Ramesh T wrote: 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