Search Postgresql Archives

Re: How to check for pending CancelRequest from C/C++ function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stephen Woodbridge <woodbri@xxxxxxxxxxxxxxx> writes:
> I writing some functions for postgresql extension in C/C++ and I would 
> like to be able to check for a pending CancelRequest from the frontend 
> so I can take appropriate action to honor this request.

Put "CHECK_FOR_INTERRUPTS();" in some suitably safe place.

			regards, tom lane


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux