Can I specify a copying type for an array element

From: AlexK <alkuzo(at)gmail(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Can I specify a copying type for an array element
Date: 2014-02-24 17:55:03
Message-ID: 1393264503312-5793336.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Browse pgsql-sql by date

  From Date Subject
Next Message David Johnston 2014-02-24 18:27:54 Re: Postgres behavior - Conditional statements
Previous Message Tom Lane 2014-02-24 17:18:09 Re: Postgres behavior - Conditional statements