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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 72c7c4e) | patch
Allow recovery tests to run on Windows as an admin user
Mon, 4 Mar 2019 20:50:23 +0000 (15:50 -0500)
Mon, 4 Mar 2019 20:54:02 +0000 (15:54 -0500)
commit 4eff1e9f0bf7835bee61aaaa9d6de23422a724a0
Allow recovery tests to run on Windows as an admin user

This is the only test that fails when run as an admin user. The reason
is that when Postgres is started via pg_ctl its admin privileges are
lowered. However, this test called 'postgres -D datadir' directly,
resulting in a failure. Replace that by calling pg_ctl and then checking
the result for the expected failure, and the logfile for the expected
error message.
src/test/recovery/t/003_recovery_targets.pl diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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