Skip site navigation (1) Skip section navigation (2)

Re: Passing composite values to functions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jatinder Sangha" <Jatinder(at)sanghaservices(dot)co(dot)uk>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Passing composite values to functions
Date: 2004-02-15 18:38:40
Message-ID: 9490.1076870320@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-sql
"Jatinder Sangha" <Jatinder(at)sanghaservices(dot)co(dot)uk> writes:
> I'm having trouble passing a composite variable to a function.

AFAIK, plpgsql doesn't support this --- it doesn't have any way to pass
a row or record variable as a parameter to the main executor.  Possibly
this will get fixed someday; I don't know of anyone working on it now
though.

			regards, tom lane

In response to

pgsql-sql by date

Next:From: Dana HudesDate: 2004-02-15 18:44:46
Subject: Re: bytea or blobs?
Previous:From: Stephan SzaboDate: 2004-02-15 16:41:57
Subject: Re: [SQL] 7.4 - FK constraint performance

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group