On Jun 20, 5:55 am, David Abrahams <d(dot)(dot)(dot)(at)boost-consulting(dot)com> wrote:> The problem is, psql is complaining:>> ERROR: wrong record type supplied in RETURN NEXT
Try:
... RETURNS SETOF RECORD ...