Re: Something flaky in the "relfilenode mapping" infrastructure

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Something flaky in the "relfilenode mapping" infrastructure
Дата
Msg-id 30368.1396040149@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Something flaky in the "relfilenode mapping" infrastructure  (Andres Freund <andres@2ndquadrant.com>)
Список 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 по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Something flaky in the "relfilenode mapping" infrastructure
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: Composite Datums containing toasted fields are a bad idea(?)