Re: Something flaky in the "relfilenode mapping" infrastructure - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Something flaky in the "relfilenode mapping" infrastructure
Date
Msg-id 30368.1396040149@sss.pgh.pa.us
Whole thread Raw
In response to Re: Something flaky in the "relfilenode mapping" infrastructure  (Andres Freund <andres@2ndquadrant.com>)
List pgsql-hackers
Andres Freund <andres@2ndquadrant.com> writes:
> I don't think it's necessary. As far as I understand LATERAL, a join to
> a function returning NULL will still return the row. So, the test now
> would only test whether there are rows in pg_class which seems a bit
> pointless.

Yeah, after looking closer I'd come to the same conclusion.  If the
lateral function call could generate zero rows it'd perhaps be a risk,
but not in this formulation.

Will commit in a moment.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Something flaky in the "relfilenode mapping" infrastructure
Next
From: Merlin Moncure
Date:
Subject: Re: Composite Datums containing toasted fields are a bad idea(?)