From: Louis-David Mitterrand <vindex+lists-pgsql-sql@apartia.org>
To: pgsql-sql@postgresql.org
Subject: Re: passing a multiple join to a function?
Date: Sun, 23 Dec 2007 17:37:45 +0100
Message-ID: <20071223163745.GA6472@apartia.fr> (raw)
In-Reply-To: <a55915760712170927v5ada3a6axb04b223141bc4376@mail.gmail.com>
References: <20071217130629.GA8338@apartia.fr>
<a55915760712170927v5ada3a6axb04b223141bc4376@mail.gmail.com>
On Mon, Dec 17, 2007 at 12:27:34PM -0500, Rodrigo De León wrote:
> On 12/17/07, Louis-David Mitterrand <vindex+lists-pgsql-sql@apartia.org> wrote:
> > I've got this ugly case statement that I'd like to hide in a function:
>
> Why don't you hide the entire query in a VIEW?
That is probably the best solution. Thanks
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: vindex+lists-pgsql-sql@apartia.org
Subject: Re: passing a multiple join to a function?
In-Reply-To: <20071223163745.GA6472@apartia.fr>
* 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