Re: Missing dependency tracking for TableFunc nodes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Missing dependency tracking for TableFunc nodes
Дата
Msg-id 15228.1573695479@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Missing dependency tracking for TableFunc nodes  (Mark Dilger <hornschnorter@gmail.com>)
Ответы Re: Missing dependency tracking for TableFunc nodes  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Список pgsql-hackers
Mark Dilger <hornschnorter@gmail.com> writes:
> On 11/11/19 1:41 PM, Tom Lane wrote:
>> I happened to notice that find_expr_references_walker has not
>> been taught anything about TableFunc nodes, which means it will
>> miss the type and collation OIDs embedded in such a node.

> I can consistently generate errors like the following in master:
>    ERROR:  cache lookup failed for statistics object 31041

This is surely a completely different issue --- there are not,
one hopes, any extended-stats OIDs embedded in views or other
query trees.

I concur with Tomas' suspicion that this must be a race condition
during DROP STATISTICS.  If we're going to allow people to do that
separately from dropping the table(s), there has to be some kind of
locking around it, and it sounds like there's not :-(

            regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "ideriha.takeshi@fujitsu.com"
Дата:
Сообщение: RE: Built-in connection pooler
Следующее
От: Mark Dilger
Дата:
Сообщение: Re: Missing dependency tracking for TableFunc nodes