Re: libPQ -Canceling Blocking Calls
Tom Lane <[email protected]>
| Newsgroups | gmane.comp.db.postgresql.interfaces |
|---|---|
| Message-ID | <[email protected]> |
Keary Suska <[email protected]> writes: > Is it possible to use PQcancel() to cancel a blocking call, such as a call > to PQexec? 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. regards, tom lane -- Sent via pgsql-interfaces mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-interfaces