Re: Improve handling of pg_stat_statements handling of bind "IN" variables

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: Improve handling of pg_stat_statements handling of bind "IN" variables
Дата
Msg-id CAM-w4HNZCUyaNT0OwcYQ7PRVpXP6tosBD0dmmKskDdfVQGXkEQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Improve handling of pg_stat_statements handling of bind "IN" variables  (Greg Stark <stark@mit.edu>)
Ответы Re: Improve handling of pg_stat_statements handling of bind "IN" variables  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers


On Sat., Jun. 15, 2019, 8:30 p.m. Greg Stark, <stark@mit.edu> wrote:


So what would this do for someone who explicitly writes:

WHERE col = ANY ?

and pass an array?

Actually thinking about this for two more seconds the question is what it would do with a query like

WHERE col = ANY '1,2,3'::integer[]

Or 

WHERE col = ANY ARRAY[1,2,3]

Whichever the language binding that is failing to do parameterized queries is doing to emulate them.

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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: Improve handling of pg_stat_statements handling of bind "IN" variables
Следующее
От: Chapman Flack
Дата:
Сообщение: The flinfo->fn_extra question, from me this time.