Re: Passing result of multirow subquery to C function

From: David Johnston <polobo(at)yahoo(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: Passing result of multirow subquery to C function
Date: 2013-12-31 16:24:09
Message-ID: 1388507049253-5784915.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Select hello(name) from names

You can only pass a single row to a function. A work around is to use
arrays but for your example the above form is what you would do and is
typical of function usage in a table context.

David J.

--
View this message in context: http://postgresql.1045698.n5.nabble.com/Passing-result-of-multirow-subquery-to-C-function-tp5784914p5784915.html
Sent from the PostgreSQL - novice mailing list archive at Nabble.com.

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2013-12-31 16:28:39 Re: Passing result of multirow subquery to C function
Previous Message Magnus Persson 2013-12-31 16:14:11 Passing result of multirow subquery to C function