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

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

> I have to say, it makes me really uncomfortable to take such
> shortcuts. In other branches we are doing liveliness checks with
> MultiXactIdIsRunning() et al. Why isn't that necessary here? And how
> likely is that this won't cause breakage somewhere down the line because
> somebody doesn't know of that subtlety?

I came up with the attached last night, which should do the right thing
in both cases.

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

Attachment

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Logging WAL when updating hintbit
Next
From: Kevin Grittner
Date:
Subject: Re: [PATCH] SQL assertions prototype