Re: Assert failure when rechecking an exclusion constraint
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Noah Misch <noah@leadboat.com>
Cc: pgsql-hackers@postgresql.org, Jeff Davis <pgsql@j-davis.com>
Date: 2011-06-06T02:33:06Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Add an Assert that indexam.c isn't used on an index awaiting reindexing.
- d2f60a3ab055 9.1.0 cited
Noah Misch <noah@leadboat.com> writes: > On Sun, Jun 05, 2011 at 02:17:00PM -0400, Tom Lane wrote: >> Attached are two versions of a patch to fix this. The second one >> modifies the code that tracks what's "pending" as per the above thought. >> I'm not entirely sure which one I like better ... any comments? > +1 for the second approach. It had bothered me that SetReindexProcessing() and > ResetReindexProcessing() manipulated one thing, but ReindexIsProcessingIndex() > checked something else besides. (That's still technically true, but the overall > effect seems more natural.) OK, done that way. regards, tom lane