pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Manuel Sugawara <masm@fciencias.unam.mx>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-sql@postgresql.org
Subject: Re: Simple view confuses PostgreSQL query planning
Date: 20 May 2004 16:43:38 -0500
Message-ID: <m3zn824vw5.fsf@conexa.fciencias.unam.mx> (raw)
In-Reply-To: <3948.1085079983@sss.pgh.pa.us>
References: <m365ar6m15.fsf@conexa.fciencias.unam.mx>
	<3948.1085079983@sss.pgh.pa.us>

Tom Lane <tgl@sss.pgh.pa.us> writes:

> Get rid of the CASEs (perhaps you could wrap them into functions
> declared STRICT) and the view would be flattenable.

Will do that. Thanks.

Regards,
Manuel.



view thread (3+ messages)

Message-ID: <m3zn824vw5.fsf@conexa.fciencias.unam.mx>
Permalink:  ../m3zn824vw5.fsf@conexa.fciencias.unam.mx/
Also on:    postgresql.org/message-id/m3zn824vw5.fsf@conexa.fciencias.unam.mx

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: masm@fciencias.unam.mx, tgl@sss.pgh.pa.us
  Subject: Re: Simple view confuses PostgreSQL query planning
  In-Reply-To: <m3zn824vw5.fsf@conexa.fciencias.unam.mx>
  References: <m365ar6m15.fsf@conexa.fciencias.unam.mx> <3948.1085079983@sss.pgh.pa.us> <m3zn824vw5.fsf@conexa.fciencias.unam.mx>

* 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