On 2016-01-13 17:38:22 +0300, Vladimir Sitnikov wrote: > >so you don't get to (or want to) have any control over the underlying > >prepared statement. > > That is pl/pgsql's problem, isn't it? > In the mean time, user can use different query texts (e.g. by adding > offset 0, offset 0*1, offset 0*2, etc kind of stuff they typically use > to tune queries) to convince plpgsql to use different statement ids.
Basically you're arguing to fix one specific edge case which bugs you personally, by creating a lot of others, which don't bug you. Not convincing. Andres Freund -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers