On Wed, Sep 10, 2008 at 5:26 PM, Alvaro Herrera
<[EMAIL PROTECTED]> wrote:
> Hmm, maybe
>
> select email, backend from emails, backends where email.id = 1 and
> backend.id = 1;
> ?
>
> You don't need a plpgsql function for this ...

Ops, forget to mention that this function is not so simple and use
some plpgsql features.
Here is one of them:
http://dpaste.com/hold/77192/




-- 
regards,
Artis Caune

<----. CCNA
<----|====================
<----' didii FreeBSD

-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to