Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit42a93da

Browse files
committed
Lower privilege level of programs calling regression_main
On Windows this mean that the regression tests can now safely andsuccessfully run as Administrator, which is useful in situations likeAppveyor. Elsewhere it's a no-op.Backpatch to 9.5 - this is harder in earlier branches and not worth thetrouble.Discussion:https://postgr.es/m/650b0c29-9578-8571-b1d2-550d7f89f307@2ndQuadrant.com
1 parent34aad21 commit42a93da

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/test/regress/pg_regress.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2025,6 +2025,8 @@ regression_main(int argc, char *argv[], init_function ifunc, test_function tfunc
20252025
progname=get_progname(argv[0]);
20262026
set_pglocale_pgservice(argv[0],PG_TEXTDOMAIN("pg_regress"));
20272027

2028+
get_restricted_token(progname);
2029+
20282030
atexit(stop_postmaster);
20292031

20302032
#ifndefHAVE_UNIX_SOCKETS

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp