Re: {PROPOSAL] add session information column to pg_stat_statements

2018-12-02 Thread Sergei Agalakov
On 12/2/2018 2:22 AM, legrand legrand wrote: I'm also very interested by collecting "search_path" information for statements, but this information may not be unique for pg_stat_statements key (dbid,userid,queryid) ... How would this 1-N relation be handled ? 1/ just catch initial session_info

Re: {PROPOSAL] add session information column to pg_stat_statements

2018-12-02 Thread legrand legrand
I'm also very interested by collecting "search_path" information for statements, but this information may not be unique for pg_stat_statements key (dbid,userid,queryid) ... How would this 1-N relation be handled ? 1/ just catch initial session_info for each (dbid,userid,queryid), 2/ adding a