pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kevin Brown <kevin@sysexperts.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: 7.3.1 New install, large queries are slow
Date: Thu, 16 Jan 2003 00:07:52 -0500
Message-ID: <11770.1042693672@sss.pgh.pa.us> (raw)
In-Reply-To: <20030116044847.GA29781@filer>
References: <9B1C77393DED0D4B9DAA1AA1742942DA0E4BFD@pos_pdc.posportal.com>
	<11547.1042691700@sss.pgh.pa.us>
	<20030116044847.GA29781@filer>

Kevin Brown <kevin@sysexperts.com> writes:
> Tom Lane wrote:
>> ... Whether this is a bug or a feature depends on
>> your point of view --- but there are folks out there who find it to be
>> a life-saver. 

> Since it *does* depend on one's point of view, would it be possible to
> have control over this implemented in a session-defined variable (with
> the default in the GUC, of course)?

I have no objection to doing that --- anyone care to contribute code to
make it happen?  (I think the trick would be to fold plain-JOIN jointree
entries into FROM-list items in planner.c, somewhere near the code that
hoists sub-SELECTs into the main join tree.  But I haven't tried it, and
have no time to in the near future.)

			regards, tom lane



view thread (66+ messages)  latest in thread

Message-ID: <11770.1042693672@sss.pgh.pa.us>
Permalink:  ../11770.1042693672@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11770.1042693672@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 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-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, kevin@sysexperts.com
  Subject: Re: 7.3.1 New install, large queries are slow
  In-Reply-To: <11770.1042693672@sss.pgh.pa.us>
  References: <9B1C77393DED0D4B9DAA1AA1742942DA0E4BFD@pos_pdc.posportal.com> <11547.1042691700@sss.pgh.pa.us> <20030116044847.GA29781@filer> <11770.1042693672@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