]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Lower privilege level of programs calling regression_main
authorAndrew Dunstan <andrew@dunslane.net>
Sat, 20 Oct 2018 13:02:36 +0000 (09:02 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Sat, 20 Oct 2018 13:10:18 +0000 (09:10 -0400)
commitf4b67efdcbc7b9f72fddd2fc0fddc2f51eebf357
treef4f184a593d74e64031f627706a34b0146796f52
parentecc59e31a81e34f4e6c0d9e73d8992d13f12b051
Lower privilege level of programs calling regression_main

On Windows this mean that the regression tests can now safely and
successfully run as Administrator, which is useful in situations like
Appveyor. Elsewhere it's a no-op.

Backpatch to 9.5 - this is harder in earlier branches and not worth the
trouble.

Discussion: https://postgr.es/m/650b0c29-9578-8571-b1d2-550d7f89f307@2ndQuadrant.com
src/test/regress/pg_regress.c