Re: [HACKERS] Bogus "Non-functional update" notices - Mailing list pgsql-hackers

From Vadim Mikheev
Subject Re: [HACKERS] Bogus "Non-functional update" notices
Date
Msg-id 35BD3E1F.D5E8CD8A@krs.ru
Whole thread Raw
In response to Re: [HACKERS] Bogus "Non-functional update" notices  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] Bogus "Non-functional update" notices
List pgsql-hackers
Tom Lane wrote:
>
> I have only seen this happen when the UPDATE was using an index scan to
> find the tuples to update (the table in this example has a btree index
> on oid).  So, somehow the index is returning the same tuple more than
> once.

In UPDATE backend inserts index tuple for new version of heap tuple
and adjusts all index scans affected by this insertion.
Something is wrong in nbtscan.c:_bt_adjscans()...

Vadim

pgsql-hackers by date:

Previous
From: t-ishii@sra.co.jp
Date:
Subject: Re: [HACKERS] current snapshot
Next
From: Peter T Mount
Date:
Subject: Re: [HACKERS] current snapshot