pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: hubert depesz lubaczewski <depesz@depesz.com>
To: dmigowski@ikoffice.de
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6325: Useless Index updates
Date: Sun, 4 Dec 2011 21:07:21 +0100
Message-ID: <20111204200720.GA18582@depesz.com> (raw)
In-Reply-To: <E1RXBaL-0000K2-U2@wrigleys.postgresql.org>
References: <E1RXBaL-0000K2-U2@wrigleys.postgresql.org>

On Sun, Dec 04, 2011 at 12:54:25PM +0000, dmigowski@ikoffice.de wrote:
> It seems that an update to a row in a table always removes the element from
> an index and adds it again. Wouldn't it be faster to check for equality of
> the index parameters in the OLD and NEW record first? 

http://www.depesz.com/index.php/2008/11/05/waiting-for-84-suppress_redundant_updates_trigger/

Best regards,

depesz

-- 
The best thing about modern society is how easy it is to avoid contact with it.
                                                             http://depesz.com/



view thread (9+ messages)  latest in thread

Message-ID: <20111204200720.GA18582@depesz.com>
Permalink:  ../20111204200720.GA18582@depesz.com/
Also on:    postgresql.org/message-id/20111204200720.GA18582@depesz.com

 · 

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-bugs@postgresql.org
  Cc: depesz@depesz.com, dmigowski@ikoffice.de
  Subject: Re: BUG #6325: Useless Index updates
  In-Reply-To: <20111204200720.GA18582@depesz.com>
  References: <E1RXBaL-0000K2-U2@wrigleys.postgresql.org> <20111204200720.GA18582@depesz.com>

* 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