Re: Something flaky in the "relfilenode mapping" infrastructure

From: Noah Misch <noah(at)leadboat(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andres Freund <andres(at)2ndquadrant(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Something flaky in the "relfilenode mapping" infrastructure
Date: 2014-06-14 00:10:07
Message-ID: 20140614001007.GB725106@tornado.leadboat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Jun 12, 2014 at 10:50:44PM -0400, Tom Lane wrote:
> Alternatively, we could do something like you suggest but adjust the
> second join so that it suppresses only rows in which mapped_oid is null
> *and* there's no longer a matching OID in pg_class. That would provide
> additional confidence that the null result is a valid indicator of a
> just-dropped table.

Can't hurt; I adjusted it along those lines and committed. For the record,
the failure on prairiedog has appeared a third time:
http://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=prairiedog&dt=2014-06-13%2005%3A19%3A35

--
Noah Misch
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-06-14 00:16:12 Re: Something flaky in the "relfilenode mapping" infrastructure
Previous Message Tom Lane 2014-06-13 21:36:52 Re: ALTER TABLESPACE MOVE command tag tweak