agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: AlexK <alkuzo@gmail.com>
To: pgsql-sql@postgresql.org
Subject: Can I specify a copying type for an array element
Date: Mon, 24 Feb 2014 09:55:03 -0800 (PST)
Message-ID: <1393264503312-5793336.post@n5.nabble.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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....
Sent from the PostgreSQL - sql mailing list archive at Nabble.com.


-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql



Message-ID: <1393264503312-5793336.post@n5.nabble.com>
Permalink:  ../1393264503312-5793336.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1393264503312-5793336.post@n5.nabble.com

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: alkuzo@gmail.com
  Subject: Re: Can I specify a copying type for an array element
  In-Reply-To: <1393264503312-5793336.post@n5.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox