pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rodrigo De León <rdeleonp@gmail.com>
To: pgsql-sql@postgresql.org
Subject: Re: passing a multiple join to a function?
Date: Mon, 17 Dec 2007 12:27:34 -0500
Message-ID: <a55915760712170927v5ada3a6axb04b223141bc4376@mail.gmail.com> (raw)
In-Reply-To: <20071217130629.GA8338@apartia.fr>
References: <20071217130629.GA8338@apartia.fr>

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?



view thread (3+ messages)  latest in thread

Message-ID: <a55915760712170927v5ada3a6axb04b223141bc4376@mail.gmail.com>
Permalink:  ../a55915760712170927v5ada3a6axb04b223141bc4376@mail.gmail.com/
Also on:    postgresql.org/message-id/a55915760712170927v5ada3a6axb04b223141bc4376@mail.gmail.com

 · 

reply

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: rdeleonp@gmail.com
  Subject: Re: passing a multiple join to a function?
  In-Reply-To: <a55915760712170927v5ada3a6axb04b223141bc4376@mail.gmail.com>

* 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