Re: 9.3 reference constraint regression

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: Daniel Wood <dwood(at)salesforce(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: 9.3 reference constraint regression
Date: 2013-12-18 16:50:51
Message-ID: 20131218165051.GE11006@eldon.alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alvaro Herrera wrote:
> 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.

That one had a silly bug, which I fixed and pushed now.

Thanks for the feedback,

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2013-12-18 17:21:08 Re: Dynamic Shared Memory stuff
Previous Message Florian Weimer 2013-12-18 16:50:42 Re: RFC: Async query processing