Peter Geoghegan <p...@heroku.com> writes: > On Thu, Mar 10, 2016 at 8:16 PM, Peter Geoghegan <p...@heroku.com> wrote: >> On Thu, Mar 10, 2016 at 7:22 PM, Peter Eisentraut <pete...@gmx.net> wrote: >>> Arguably, if everyone followed "my" approach, this should be very easy >>> to fix everywhere.
>> I don't think that there is any clear indication that the OpenSSL >> people would share that view. Or my view. Or anything that's sensible >> or practical or actionable. > Ideally, we'd be able to get this into the upcoming minor release. Agreed, we need to deal with this one way or the other. My proposal is: 1. In HEAD, do it as Peter E. suggests, ie clear error queue before calls. 2. In back branches, clear error queue before *and* after calls. This will waste a few nanoseconds but will avoid any risk of breaking existing third-party code. I think it's reasonable to expect extensions to update to the newer behavior in a major release, but we're taking risks if we expect that to happen in minor releases. In any case, we need a patch that touches the backend-side code as well. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers