summaryrefslogtreecommitdiff
path: root/src/common/logging.c
diff options
context:
space:
mode:
authorAndrew Dunstan2021-03-04 18:13:10 +0000
committerAndrew Dunstan2021-03-04 18:23:41 +0000
commitd3676a2e9f10a0972c6d6649235c1c7492cd6dea (patch)
tree722f808bed70c440fb60063a7b3465d0770c756c /src/common/logging.c
parent040af779382e8e4797242c49b93a5a8f9b79c370 (diff)
Close psql processes gracefully in recovery tests
Under windows, psql processes need to be ended explicitly, or the TAP tests hang. However, the recovery tests were doing this via IPC::Run::kill_kill(), which causes other major problems on Windows. We solve this by instead sending '\q' to psql so it quits of its own accord, and then simply waiting for it. This means we can now run almost all the recovery tests on all Windows platforms. Discussion: https://postgr.es/m/20210301200715.tdjpuesfzebpffgn@alap3.anarazel.de
Diffstat (limited to 'src/common/logging.c')
0 files changed, 0 insertions, 0 deletions