From: Keary Suska <hierophant@pcisys.net>
To: Postgres-Interfaces <pgsql-interfaces@postgresql.org>
Subject: Re: libPQ -Canceling Blocking Calls
Date: Thu, 10 Jul 2008 16:51:45 -0600
Message-ID: <C49BEEA1.25E88%hierophant@pcisys.net> (raw)
In-Reply-To: <14296.1215723927@sss.pgh.pa.us>
7/10/08 3:05 PM, also sprach tgl@sss.pgh.pa.us:
> Sure. Look at psql for an example. You probably need to call PQcancel
> from a signal handler, but there's a signal-safe variant for that.
Great. Although I was planning on using a threaded approach, but since libpq
was compiled thread-safe, I assume this would be fine. I was hoping I could
cancel a synchronous call without having to collapse the thread. This is
good news.
Thanks,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
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: pgsql-interfaces@postgresql.org
Cc: hierophant@pcisys.net
Subject: Re: libPQ -Canceling Blocking Calls
In-Reply-To: <C49BEEA1.25E88%hierophant@pcisys.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox