git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: e6c2d17) | patch
Revert commits 290acac92b and 8a7e9e9dad.
2019年11月30日 02:13:42 +0000 (07:43 +0530)
2019年11月30日 02:31:20 +0000 (08:01 +0530)
commit 98a9b37ba70f24b28478360d9cf7f190b0f75f8d
Revert commits 290acac92b and 8a7e9e9dad.

This commit revert the commits to add a test case that tests the 'force'
option when there is an active backend connected to the database being
dropped.

This feature internally sends SIGTERM to all the backends connected to the
database being dropped and then the same is reported to the client. We
found that on Windows, the client end of the socket is not able to read
the data once we close the socket in the server which leads to loss of
error message which is not what we expect. We also observed similar
behavior in other cases like pg_terminate_backend(),
pg_ctl kill TERM <pid>. There are probably a few others like that. The
fix for this requires further study.

Discussion: https://postgr.es/m/E1iaD8h-0004us-K9@gemulon.postgresql.org
src/bin/scripts/t/050_dropdb.pl diff | blob | blame | history
src/bin/scripts/t/051_dropdb_force.pl [deleted file] blob | blame | history
src/test/perl/TestLib.pm diff | blob | blame | history
src/test/recovery/t/013_crash_restart.pl diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /