pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Laurent Martelli <laurent@aopsys.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Unused table of view
Date: Sat, 05 Jun 2004 13:36:30 -0400
Message-ID: <24845.1086456990@sss.pgh.pa.us> (raw)
In-Reply-To: <87y8n2t6jd.fsf@stan.aopsys.com>
References: <87y8n2t6jd.fsf@stan.aopsys.com>

Laurent Martelli <laurent@aopsys.com> writes:
> The pictures table is scanned, but it's not needed.

Yes it is.  For example, if pictures is empty then the view yields
zero rows.  Omitting the join to pictures could give a different result.

			regards, tom lane



view thread (3+ messages)  latest in thread

Message-ID: <24845.1086456990@sss.pgh.pa.us>
Permalink:  ../24845.1086456990@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/24845.1086456990@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, laurent@aopsys.com
  Subject: Re: Unused table of view
  In-Reply-To: <24845.1086456990@sss.pgh.pa.us>

* 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