Invent a new, more thread-safe version of PQrequestCancel, called PQcancel.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 44e8a968e33f04974edc8ac9f184d009b036bbb7
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-10-30T23:11:27Z
Releases: 8.0.0
Invent a new, more thread-safe version of PQrequestCancel, called PQcancel.
Use this new function in psql.  Implement query cancellation in psql for
Windows.  Code by Magnus Hagander, documentation and minor editorialization
by Tom Lane.

Files

PathChange+/−
doc/src/sgml/libpq.sgml modified +135 −49
src/bin/psql/common.c modified +87 −12
src/bin/psql/common.h modified +4 −2
src/bin/psql/mainloop.c modified +5 −2
src/interfaces/libpq/exports.txt modified +4 −1
src/interfaces/libpq/fe-connect.c modified +135 −50
src/interfaces/libpq/libpq-fe.h modified +16 −1
src/interfaces/libpq/libpq-int.h modified +13 −1