Re: [HACKERS] Bogus "Non-functional update" notices

From: "Thomas G(dot) Lockhart" <lockhart(at)alumni(dot)caltech(dot)edu>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Bogus "Non-functional update" notices
Date: 1998-07-27 06:51:37
Message-ID: 35BC2379.CA9C7B5@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> With fairly current sources (last cvs update on 7/20), I am seeing
> occasional occurrences of
> NOTICE: Non-functional update, only first update is performed
> I think this is a bug. The update commands that are triggering this
> message *are* getting executed. I looked at the sources and couldn't
> even understand what condition was being tested to generate the
> message.
> The source code looks like it's trying to disallow more than one
> update to the same tuple within a transaction, which is so silly that
> I have to be misreading it...

I recall seeing this in the past when two conditions in an update are
such that the second condition will never be significant. Can't remember
an example, but the regression test has at least one case which provokes
this.

- Tom

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 1998-07-27 08:46:53 Re: hackers-digest V1 #894
Previous Message t-ishii 1998-07-27 06:50:49 Re: [HACKERS] current snapshot