postgresql/src/bin/scripts
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
..
po Translation updates 2019-06-17 15:30:20 +02:00
t Revert commits 290acac92b and 8a7e9e9dad. 2019-11-30 08:01:20 +05:30
.gitignore Remove createlang and droplang 2017-03-23 14:16:45 -04:00
clusterdb.c Refactor query cancellation code into src/fe_utils/ 2019-12-02 11:18:56 +09:00
common.c Refactor query cancellation code into src/fe_utils/ 2019-12-02 11:18:56 +09:00
common.h Refactor query cancellation code into src/fe_utils/ 2019-12-02 11:18:56 +09:00
createdb.c Move logging.h and logging.c from src/fe_utils/ to src/common/. 2019-05-14 14:20:10 -04:00
createuser.c Remove last traces of --adduser/--no-adduser in createuser 2019-10-23 12:27:03 +09:00
dropdb.c Add the support for '-f' option in dropdb utility. 2019-11-20 08:25:07 +05:30
dropuser.c Move logging.h and logging.c from src/fe_utils/ to src/common/. 2019-05-14 14:20:10 -04:00
Makefile Add support for --jobs in reindexdb 2019-07-27 22:21:18 +09:00
nls.mk Unified logging system for command-line programs 2019-04-01 20:01:35 +02:00
pg_isready.c Move logging.h and logging.c from src/fe_utils/ to src/common/. 2019-05-14 14:20:10 -04:00
reindexdb.c Refactor query cancellation code into src/fe_utils/ 2019-12-02 11:18:56 +09:00
scripts_parallel.c Fix failure of --jobs with reindexdb and vacuumdb on Windows 2019-08-27 09:11:31 +09:00
scripts_parallel.h Fix error handling of vacuumdb and reindexdb when running out of fds 2019-08-26 11:14:18 +09:00
vacuumdb.c Refactor query cancellation code into src/fe_utils/ 2019-12-02 11:18:56 +09:00