Can I specify a copying type for an array element - Mailing list pgsql-sql

From AlexK
Subject Can I specify a copying type for an array element
Date
Msg-id 1393264503312-5793336.post@n5.nabble.com
Whole thread Raw
List pgsql-sql
If I want to return the whole array from my function, I can specify
my_table.array_column%TYPE.
If my function returns an element, can I say something like
element_type(my_table.array_column%TYPE) when I declare the return type? 



--
View this message in context:
http://postgresql.1045698.n5.nabble.com/Can-I-specify-a-copying-type-for-an-array-element-tp5793336.html
Sent from the PostgreSQL - sql mailing list archive at Nabble.com.



pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: Postgres behavior - Conditional statements
Next
From: David Johnston
Date:
Subject: Re: Postgres behavior - Conditional statements