public inbox for [email protected]  
help / color / mirror / Atom feed
From: Zsolt Parragi <[email protected]>
To: [email protected]
Subject: Re: Don't use the deprecated and insecure PQcancel in our frontend tools anymore
Date: Sat, 4 Jul 2026 16:29:28 -0500
Message-ID: <CAN4CZFN-=Am6qh26GPjzZWsQCm+VqE=byrwr=Q1vUVqS0gTCNA@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>

Hello

+void
+setup_cancel_handler(void (*signal_callback) (void),
+					 void (*thread_callback) (void))
+{
+...
+	create_cancel_thread();
+	pqsignal(SIGINT, CancelSignalHandler);
+#endif
+}

Maybe this should have a doc comment explaining that this function
should only be called once (or alternatively, create_cancel_thread
should have a guard against repeated callers)?






view thread (24+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Don't use the deprecated and insecure PQcancel in our frontend tools anymore
  In-Reply-To: <CAN4CZFN-=Am6qh26GPjzZWsQCm+VqE=byrwr=Q1vUVqS0gTCNA@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox