From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeff <threshar@torgo.978.org>
Cc: Roman Fail <rfail@posportal.com>
Cc: Josh Berkus <josh@agliodbs.com>
Cc: sszabo@megazone23.bigpanda.com <sszabo@megazone23.bigpanda.com>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: 7.3.1 New install, large queries are slow
Date: Fri, 17 Jan 2003 10:11:17 -0500
Message-ID: <11880.1042816277@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.BSF.4.44.0301170858080.55072-100000@torgo.978.org>
References: <Pine.BSF.4.44.0301170858080.55072-100000@torgo.978.org>
Jeff <threshar@torgo.978.org> writes:
> Perhaps this should go on the TODO - when one side is an int8 and the
> other is a literal number assume the number to be int8 instead of int4?
It's been on TODO for so long that it's buried near the bottom.
* Allow SELECT * FROM tab WHERE int2col = 4 to use int2col index, int8,
float4, numeric/decimal too [optimizer]
This behavior interacts with enough other stuff that we can't just
change it willy-nilly. See many past discussions in the pghackers
archives if you want details. A recent example of a promising-looking
fix crashing and burning is
http://fts.postgresql.org/db/mw/msg.html?mid=1357121
regards, tom lane
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, threshar@torgo.978.org, rfail@posportal.com, josh@agliodbs.com, sszabo@megazone23.bigpanda.com
Subject: Re: 7.3.1 New install, large queries are slow
In-Reply-To: <11880.1042816277@sss.pgh.pa.us>
References: <Pine.BSF.4.44.0301170858080.55072-100000@torgo.978.org> <11880.1042816277@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