Re: passing a multiple join to a function? - Mailing list pgsql-sql

From Louis-David Mitterrand
Subject Re: passing a multiple join to a function?
Date
Msg-id 20071223163745.GA6472@apartia.fr
Whole thread Raw
In response to Re: passing a multiple join to a function?  ("Rodrigo De León" <rdeleonp@gmail.com>)
List pgsql-sql
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


pgsql-sql by date:

Previous
From: Michael Glaesemann
Date:
Subject: Re: Misnamed field in subquery does not cause error when field name exists in parent query
Next
From: Louis-David Mitterrand
Date:
Subject: returning an array as a list fo single-column rows?