Re: New Feature Request

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: New Feature Request
Дата
Msg-id 20200526013733.GC1573@paquier.xyz
обсуждение исходный текст
Ответ на Re: New Feature Request  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: New Feature Request  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, May 25, 2020 at 09:21:26PM -0400, Bruce Momjian wrote:
> I think your best bet is to try getting someone to write a hook
> that will do the replacement so that you don't need to modify too much
> of the Postgres core code.  You will need to have the hook updated for
> new versions of Postgres, which adds to the complexity.

Couldn't one just use the existing planner hook for that?  The
post-parse analysis hook is run before a query rewrite, but the
planner hook could manipulate a rewrite before planning the query.
--
Michael

Вложения

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Default gucs for EXPLAIN
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: New Feature Request