From: Pat M <pmeloy@removethispart.home.com>
To: pgsql-sql@postgresql.org
Subject: Function return rows?
Date: Sat, 29 Sep 2001 09:17:28 -0700
Message-ID: <9p4s81$19q9$1@news.tht.net> (raw)
Can I use a function to execute a query and return a row or set of rows? If
so, can you point me to some examples or perhaps give me an example of a
function that would do roughly the same thing as:
select * from mytable where mytable.name ~* 'aname';
I can't seem to find any examples that return rows, just single ints and
bools and stuff.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: pmeloy@removethispart.home.com
Subject: Re: Function return rows?
In-Reply-To: <9p4s81$19q9$1@news.tht.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox