Re: 9.3 reference constraint regression - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: 9.3 reference constraint regression
Date
Msg-id 20131217212726.GQ12902@eldon.alvh.no-ip.org
Whole thread Raw
In response to Re: 9.3 reference constraint regression  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: 9.3 reference constraint regression
List pgsql-hackers
Alvaro Herrera wrote:

> Well, it would help if those cases weren't dead code.  Neither
> heap_update nor heap_delete are ever called in the "no wait" case at
> all.  Only heap_lock_tuple is, and I can't see any misbehavior there
> either, even with HeapTupleBeingUpdated returned when there's a
> non-local locker, or when there's a MultiXact as xmax, regardless of its
> status.

I spent some more time trying to generate a test case that would show a
problem with the changed return values here, and was unable to.

I intend to apply this patch soon.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

Attachment

pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: [PATCH] SQL assertions prototype
Next
From: Kevin Grittner
Date:
Subject: Re: [PATCH] SQL assertions prototype