Re: "Custom" records?

From: Neil Conway <neilc(at)samurai(dot)com>
To: Joel Palmius <joel(dot)palmius(at)mh(dot)se>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: "Custom" records?
Date: 2002-09-20 05:01:35
Message-ID: 87ptv96yq8.fsf@mailbox.samurai.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Joel Palmius <joel(dot)palmius(at)mh(dot)se> writes:
> Is there a way to return a completely custom column/row record from a
> plpgsql function?

If I understand you correctly, you should be able to do this in 7.3.

http://developer.postgresql.org/docs/postgres/plpgsql-control-structures.html

(see RETURN NEXT)

Set-returning functions can also be defined using C or SQL.

Cheers,

Neil

--
Neil Conway <neilc(at)samurai(dot)com> || PGP Key ID: DB3C29FC

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Shridhar Daithankar 2002-09-20 06:29:25 Re: Debugging the backend?
Previous Message Jeff Davis 2002-09-20 04:53:08 Re: Problems with Triggers