Re: why can't plpgsql return a row-expression?
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers@postgresql.org
Date: 2012-10-08T15:09:22Z
Lists: 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