How do one create an array of a user defined type in PostgreSQL 8.1 (Greenplum)?
I have the type:
create type tp_keyval as (
key_nm text
,key_vals text[]
);
I would like an array something like:
v_keyval_set tp_keyval[];
According to the documentation it can be done and should work .. I even tried it with the underscore as indicated in the documentation, but to no avail.
v_keyval_set _tp_keyval;
Could someone please provide an example of how to do this.
Regards, Johan