pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ivar Zarans <iff@alcaron.ee>
To: pgsql-performance@postgresql.org
Subject: Re: Slow UPADTE, compared to INSERT
Date: Fri, 5 Dec 2003 18:52:53 +0200
Message-ID: <20031205165253.GB30510@alcaron.ee> (raw)
In-Reply-To: <3FD08D6A.4080207@persistent.co.in>
References: <20031204185751.GA15893@alcaron.ee>
	<20031205014514.GA21079@alcaron.ee>
	<20031205020728.GA21440@alcaron.ee>
	<200312051008.20317.dev@archonet.com>
	<20031205123843.GA27170@alcaron.ee>
	<3FD07EEA.8030007@persistent.co.in>
	<20031205131325.GB27524@alcaron.ee>
	<3FD08D6A.4080207@persistent.co.in>

On Fri, Dec 05, 2003 at 07:21:38PM +0530, Shridhar Daithankar wrote:

> planner consider seemingly same type as different. e.g. treating int8 as 
> different than int4. Obvious thinking is they should be same. But given 
> postgresql's flexibility with create type, it is difficult to promote.

OK, this makes sense and explains a lot. Thanks!

> Well, then pypgsql should be upgraded to query the pg catalogd to find 
> exact type of column. But that would be too cumbersome I guess.

Yes, so it seems. Time to rewrite my queries :)
Thanks again for help and explanations!

-- 
Ivar




view thread (24+ messages)  latest in thread

Message-ID: <20031205165253.GB30510@alcaron.ee>
Permalink:  ../20031205165253.GB30510@alcaron.ee/
Also on:    postgresql.org/message-id/20031205165253.GB30510@alcaron.ee

 · 

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: iff@alcaron.ee
  Subject: Re: Slow UPADTE, compared to INSERT
  In-Reply-To: <20031205165253.GB30510@alcaron.ee>

* 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