Re: [HACKERS] Preserving param location

Поиск
Список
Период
Сортировка
От Julien Rouhaud
Тема Re: [HACKERS] Preserving param location
Дата
Msg-id 20210627033153.4orlkah2grcnslgi@nol
обсуждение исходный текст
Ответ на [HACKERS] Preserving param location  (Julien Rouhaud <julien.rouhaud@dalibo.com>)
Ответы Re: [HACKERS] Preserving param location  (Julien Rouhaud <rjuju123@gmail.com>)
Список pgsql-hackers
On Sat, Mar 11, 2017 at 11:09:32PM +0100, Julien Rouhaud wrote:
> 
> When a query contains parameters, the original param node contains the token
> location.  However, this information is lost when the Const node is generated,
> this one will only contain position -1 (unknown).
>
> FWIW, we do have a use case for this (custom extension that tracks quals
> statistics, which among other thing is used to regenerate query string from a
> pgss normalized query, thus needing the original param location).

rebased v2.



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

Предыдущее
От: Elijah Stone
Дата:
Сообщение: Re: Composite types as parameters
Следующее
От: Julien Rouhaud
Дата:
Сообщение: Re: [HACKERS] Preserving param location