Re: issue with pg_db_cancel

[email protected] (Greg Sabino Mullane) Thu, 29 May 2025 13:15:39 -0400
Newsgroups perl.dbd.pg
Message-ID <CAKAnmm+mA+nx0kMuA0eRG=g4A-+rm9+LnF77wBoL4fOoN3y+5Q@mail.gmail.com>
--0000000000008733600636497492
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Thu, May 29, 2025 at 12:52=E2=80=AFPM Rainer Weikusat <rweikusat@cyberad=
apt.com>
wrote:

> descriptors connecting to any number of different external and internal
> entites which doesn't want to be blocked waiting for input to become
> available on any particular file descriptor.


Ah, I understand what you mean now.

NB: This is more-or-less for theoretical consideration. As such a change
> might well break existing code, it would IMHO be very ill advised to
> do this in a stable driver


Well, we could consider putting it behind a flag so the user can choose the
current or correct behavior as they see fit.

--=20
Cheers,
Greg

--
Crunchy Data - https://www.crunchydata.com
Enterprise Postgres Software Products & Tech Support

--0000000000008733600636497492
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">On Thu, May 29, 2025 at 12:52=E2=80=AFPM =
Rainer Weikusat &lt;<a href=3D"mailto:[email protected]">rweikusat@c=
yberadapt.com</a>&gt; wrote:</div><div class=3D"gmail_quote gmail_quote_con=
tainer"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex=
;border-left:1px solid rgb(204,204,204);padding-left:1ex">descriptors conne=
cting to any number of different external and internal<br>
entites which doesn&#39;t want to be blocked waiting for input to become<br=
>
available on any particular file descriptor.</blockquote><div><br></div><di=
v>Ah, I understand what you mean now.</div><div><br></div><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg=
b(204,204,204);padding-left:1ex">NB: This is more-or-less for theoretical c=
onsideration. As such a change<br>
might well break existing code, it would IMHO be very ill advised to<br>
do this in a stable driver</blockquote><div><br></div><div>Well, we could c=
onsider putting it behind a flag so the user can choose the current or corr=
ect behavior as they see fit.</div><div><br></div></div><span class=3D"gmai=
l_signature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature=
"><div dir=3D"ltr"><div>Cheers,</div><div>Greg</div><div><br></div><div>--<=
/div><div>Crunchy Data - <a href=3D"https://www.crunchydata.com" target=3D"=
_blank">https://www.crunchydata.com</a></div><div>Enterprise Postgres Softw=
are Products &amp; Tech Support</div><div><br></div></div></div></div>

--0000000000008733600636497492--