Re: Improve handling of pg_stat_statements handling of bind "IN" variables - Mailing list pgsql-hackers

From Greg Stark
Subject Re: Improve handling of pg_stat_statements handling of bind "IN" variables
Date
Msg-id CAM-w4HNZCUyaNT0OwcYQ7PRVpXP6tosBD0dmmKskDdfVQGXkEQ@mail.gmail.com
Whole thread Raw
In response to Re: Improve handling of pg_stat_statements handling of bind "IN" variables  (Greg Stark <stark@mit.edu>)
Responses Re: Improve handling of pg_stat_statements handling of bind "IN" variables
List 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 by date:

Previous
From: Greg Stark
Date:
Subject: Re: Improve handling of pg_stat_statements handling of bind "IN" variables
Next
From: Chapman Flack
Date:
Subject: The flinfo->fn_extra question, from me this time.