From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Yura Sokolov <y(dot)sokolov(at)postgrespro(dot)ru> |
Cc: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, pgsql-hackers(at)lists(dot)postgresql(dot)org |
Subject: | Re: Add PortalDrop in exec_execute_message |
Date: | 2021-06-11 13:38:25 |
Message-ID: | 1875433.1623418705@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Yura Sokolov <y(dot)sokolov(at)postgrespro(dot)ru> writes:
> This makes me think, Close message were intended to be used
> but simply forgotten when libpq patch were made.
> Tom, could I be right?
You could argue all day about what the intentions were nearly twenty
years ago. But the facts on the ground are that we don't issue Close
in those places, and changing it now would be a de facto protocol
change for applications. So I'm a hard -1 on these proposals.
(Alvaro's proposed change isn't a protocol break, since pipeline
mode hasn't shipped yet. It's trying to make some brand new code
act more like old code, which seems like a fine idea.)
I think that the actual problem here has been resolved in
commit bb4aed46a. Perhaps we should reconsider my decision not to
back-patch that. Unlike a protocol change, that one could possibly
be sane to back-patch. I didn't think it was worth the trouble and
risk, but maybe there's a case for it.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Amit Kapila | 2021-06-11 13:53:16 | Re: Decoding speculative insert with toast leaks memory |
Previous Message | Bharath Rupireddy | 2021-06-11 13:13:44 | Re: Added schema level support for publication. |