postgresql/src/fe_utils
Michael Paquier a4fd3aa719 Refactor query cancellation code into src/fe_utils/
Originally, this code was duplicated in src/bin/psql/ and
src/bin/scripts/, but it can be useful for other frontend applications,
like pgbench.  This refactoring offers the possibility to setup a custom
callback which would get called in the signal handler for SIGINT or when
the interruption console events happen on Windows.

Author: Fabien Coelho, with contributions from Michael Paquier
Reviewed-by: Álvaro Herrera, Ibrar Ahmed
Discussion: https://postgr.es/m/alpine.DEB.2.21.1910311939430.27369@lancre
2019-12-02 11:18:56 +09:00
..
.gitignore Move psql's psqlscan.l into src/fe_utils. 2016-03-24 20:28:47 -04:00
Makefile Refactor query cancellation code into src/fe_utils/ 2019-12-02 11:18:56 +09:00
cancel.c Refactor query cancellation code into src/fe_utils/ 2019-12-02 11:18:56 +09:00
conditional.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
mbprint.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
print.c Remove useless "return;" lines 2019-11-28 16:48:37 -03:00
psqlscan.l Move logging.h and logging.c from src/fe_utils/ to src/common/. 2019-05-14 14:20:10 -04:00
recovery_gen.c Make the order of the header file includes consistent in non-backend modules. 2019-10-25 07:41:52 +05:30
simple_list.c Fix parallel restore of FKs to partitioned tables 2019-10-17 09:58:01 +02:00
string_utils.c Make the order of the header file includes consistent in non-backend modules. 2019-10-25 07:41:52 +05:30