pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shridhar Daithankar <shridhar_daithankar@persistent.co.in>
To: pgsql-performance@postgresql.org
Cc: pgsql-hackers@postgresql.org
Subject: Re: [PERFORM] Diferent execution plan for similar query
Date: Mon, 28 Apr 2003 16:30:55 +0530
Message-ID: <200304281630.55041.shridhar_daithankar@nospam.persistent.co.in> (raw)
In-Reply-To: <59937.129.178.88.66.1051527547.squirrel@mail2.fbab.net>
References: <003401c30d70$92c07310$8001010a@sipec.es>
	<200304281611.33669.shridhar_daithankar@nospam.persistent.co.in>
	<59937.129.178.88.66.1051527547.squirrel@mail2.fbab.net>

On Monday 28 April 2003 16:29, Magnus Naeslund(w) wrote:
> Shridhar Daithankar said:
> > In second case, postgresql typecasted it correctly. Even
> > eans.id_iean=345::int8 would have worked the same way.  By default
> > postgresql
> > treats a number as int4 while comparing and integer and float8 for a real
> > numbe. I discovered that yesterday.
> >
> > Until the planner/parser gets smarter, this is going to be an FAQ..
> >
> >  Shridhar
>
> Is this an nontrivial change?
> Because if it's trivial it should be done, imho.
> I've been bitten indirectly of this, and it's not too easy to find out
> always. I think that this is one of the most unobvious performance hickups
> there are with postgresql.

I would say dig into hackers archives for the consensus(??) reached.. I don't 
remember..

 Shridhar




view thread (6+ messages)  latest in thread

Message-ID: <200304281630.55041.shridhar_daithankar@nospam.persistent.co.in>
Permalink:  ../200304281630.55041.shridhar_daithankar@nospam.persistent.co.in/
Also on:    postgresql.org/message-id/200304281630.55041.shridhar_daithankar@nospam.persistent.co.in

 · 

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: shridhar_daithankar@persistent.co.in, pgsql-hackers@postgresql.org
  Subject: Re: [PERFORM] Diferent execution plan for similar query
  In-Reply-To: <200304281630.55041.shridhar_daithankar@nospam.persistent.co.in>
  References: <003401c30d70$92c07310$8001010a@sipec.es> <200304281611.33669.shridhar_daithankar@nospam.persistent.co.in> <59937.129.178.88.66.1051527547.squirrel@mail2.fbab.net> <200304281630.55041.shridhar_daithankar@nospam.persistent.co.in>

* 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