Re: BUG #16703: pg-dump fails to process recursive view definition

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #16703: pg-dump fails to process recursive view definition
Дата
Msg-id 1473888.1604590908@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #16703: pg-dump fails to process recursive view definition  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: BUG #16703: pg-dump fails to process recursive view definition  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
I wrote:
> It seems like the least painful solution might be to teach
> LockTableRecurse to detect recursion and just not recurse into
> a view it's already locked.  (BTW, I wonder if we shouldn't
> have a stack depth check there, too.)

Oh, I see it already has a recursion test ... it's just that throwing
an error is an unnecessarily harsh reaction.  We can just stop
recursing.  Will push a fix shortly.

(Also, we need no check_stack_depth call here, because
expression_tree_walker has one.)

            regards, tom lane



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

Предыдущее
От: Wolfgang Walther
Дата:
Сообщение: Re: Wrong result for comparing ROW(...) with IS NOT NULL
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #16703: pg-dump fails to process recursive view definition