pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Karl Denninger <karl@denninger.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-performance@postgresql.org
Subject: Re: Why is query selecting sequential?
Date: Sun, 8 Feb 2004 21:34:18 -0800
Message-ID: <200402082134.18156.josh@agliodbs.com> (raw)
In-Reply-To: <20040207101052.A15045@Denninger.Net>
References: <20040206153602.B4910@Denninger.Net>
	<17425.1076136714@sss.pgh.pa.us>
	<20040207101052.A15045@Denninger.Net>

Karl,

> BTW, the other posted "cleaner" model doesn't work for me.  If there is NO
> row in the subtable that matches, the other version returns nothing (which
> makes sense since the initial select fails to match any rows as one of the
> things its trying to match is missing.)

Ah, wasn't thinking of that case.    Problem with not really knowing what the 
database is about.

-- 
Josh Berkus
Aglio Database Solutions
San Francisco



view thread (8+ messages)

Message-ID: <200402082134.18156.josh@agliodbs.com>
Permalink:  ../200402082134.18156.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200402082134.18156.josh@agliodbs.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-performance@postgresql.org
  Cc: josh@agliodbs.com, karl@denninger.net, tgl@sss.pgh.pa.us
  Subject: Re: Why is query selecting sequential?
  In-Reply-To: <200402082134.18156.josh@agliodbs.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