Re: libPQ -Canceling Blocking Calls
Keary Suska <[email protected]>
| Newsgroups | gmane.comp.db.postgresql.interfaces |
|---|---|
| Message-ID | <C49BEEA1.25E88%[email protected]> |
7/10/08 3:05 PM, also sprach [email protected]: > 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" -- Sent via pgsql-interfaces mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-interfaces