diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2021-03-04 13:13:10 -0500 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2021-03-04 13:23:41 -0500 |
commit | d3676a2e9f10a0972c6d6649235c1c7492cd6dea (patch) | |
tree | 722f808bed70c440fb60063a7b3465d0770c756c /doc/src | |
parent | 040af779382e8e4797242c49b93a5a8f9b79c370 (diff) | |
download | postgresql-d3676a2e9f10a0972c6d6649235c1c7492cd6dea.tar.gz postgresql-d3676a2e9f10a0972c6d6649235c1c7492cd6dea.zip |
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 'doc/src')
0 files changed, 0 insertions, 0 deletions