pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Markus Bertheau <twanger@bluetwanger.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Litao Wu <litaowu@yahoo.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: sunquery and estimated rows
Date: Sun, 18 Apr 2004 21:22:26 +0200
Message-ID: <1082316145.2191.0.camel@yarrow.bertheau.de> (raw)
In-Reply-To: <3802.1082159101@sss.pgh.pa.us>
References: <20040416214529.10468.qmail@web13125.mail.yahoo.com>
	<3802.1082159101@sss.pgh.pa.us>

В Сбт, 17.04.2004, в 01:45, Tom Lane пишет:

> The planner sees that as "where scope = <some complicated expression>"
> and falls back to a default estimate.  It won't simplify a sub-select
> to a constant.  (Some people consider that a feature ;-).)

Why?

Thanks

-- 
Markus Bertheau <twanger@bluetwanger.de>




view thread (7+ messages)  latest in thread

Message-ID: <1082316145.2191.0.camel@yarrow.bertheau.de>
Permalink:  ../1082316145.2191.0.camel@yarrow.bertheau.de/
Also on:    postgresql.org/message-id/1082316145.2191.0.camel@yarrow.bertheau.de

 · 

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: twanger@bluetwanger.de, tgl@sss.pgh.pa.us, litaowu@yahoo.com
  Subject: Re: sunquery and estimated rows
  In-Reply-To: <1082316145.2191.0.camel@yarrow.bertheau.de>

* 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