Propagate sanity checks of ProcessUtility() to standard_ProcessUtility()?

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Propagate sanity checks of ProcessUtility() to standard_ProcessUtility()?
Дата
Msg-id ZeAwVfUqGtRCx8ux@paquier.xyz
обсуждение исходный текст
Ответы Re: Propagate sanity checks of ProcessUtility() to standard_ProcessUtility()?  (jian he <jian.universality@gmail.com>)
Список pgsql-hackers
Hi all,

It's been brought to me that an extension may finish by breaking the
assumptions ProcessUtility() relies on when calling
standard_ProcessUtility(), causing breakages when passing down data to
cascading utility hooks.

Isn't the state of the arguments given something we should check not
only in the main entry point ProcessUtility() but also in
standard_ProcessUtility(), to prevent issues if an extension
incorrectly manipulates the arguments it needs to pass down to other
modules that use the utility hook, like using a NULL query string?

See the attached for the idea.
Thanks,
--
Michael

Вложения

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

Предыдущее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: Infinite loop in XLogPageRead() on standby
Следующее
От: jian he
Дата:
Сообщение: Re: Propagate sanity checks of ProcessUtility() to standard_ProcessUtility()?