Re: Generating code for query jumbling through gen_node_support.pl

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Generating code for query jumbling through gen_node_support.pl
Дата
Msg-id ZKzqO9wXJRe0FW5P@paquier.xyz
обсуждение исходный текст
Ответ на Re: Generating code for query jumbling through gen_node_support.pl  (Andrey Lepikhov <a.lepikhov@postgrespro.ru>)
Ответы Re: Generating code for query jumbling through gen_node_support.pl  (Andrey Lepikhov <a.lepikhov@postgrespro.ru>)
Список pgsql-hackers
On Tue, Jul 11, 2023 at 12:29:29PM +0700, Andrey Lepikhov wrote:
> I vote for only one method based on a query tree structure.

Noted

> BTW, did you think about different algorithms of queryId generation?

Not really, except if you are referring to the possibility of being
able to handle differently different portions of the nodes depending
on a context given by the callers willing to do a query jumbling
computation.  (For example, choose to *not* silence the Const nodes,
etc.)

> Auto-generated queryId code can open a way for extensions to have
> easy-supporting custom queryIds.

Extensions can control that at some extent, already.
--
Michael

Вложения

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

Предыдущее
От: Jeevan Chalke
Дата:
Сообщение: unrecognized node type while displaying a Path due to dangling pointer
Следующее
От: Masahiko Sawada
Дата:
Сообщение: Re: doc: improve the restriction description of using indexes on REPLICA IDENTITY FULL table.