Re: why can't plpgsql return a row-expression? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: why can't plpgsql return a row-expression?
Date
Msg-id 1492.1349708962@sss.pgh.pa.us
Whole thread Raw
In response to why can't plpgsql return a row-expression?  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: why can't plpgsql return a row-expression?
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> ERROR:  RETURN must specify a record or row variable in function returning row

> Off the top of my head, I can't think of any reason for this
> restriction, nor can I find any code comments or anything in the
> commit log which explains the reason for it.  Does anyone know why we
> don't allow this?

Laziness, probably.  Feel free to have at it.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Julien Tachoires
Date:
Subject: Re: Improving psql \ds
Next
From: Tom Lane
Date:
Subject: Re: Add FET to Default and Europe.txt