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

Commit14793f4

Browse files
committed
pg_amcheck: Fix test failure on Windows with non-existing role
For SSPI auth extra users need to be explicitly allowed, or we get"SSPI authentication failed" instead of the expected "role does notexist" error.This report also means that the test has never worked on Windows sinceits introduction in9706092, because it has always bumped on anauthentication failure rather than an error about the role not existing.Oversight ineef4a33, that has added a pattern check on the errorgenerated by the command.Per report from Tom Lane, via buildfarm member drongo.Author: Dagfinn Ilmari MannsåkerReviewed-by: Andrew DunstanDiscussion:https://postgr.es/m/379085.1737734611@sss.pgh.pa.us
1 parent2f12df7 commit14793f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/bin/pg_amcheck/t/002_nonesuch.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# Test set-up
1212
my ($node,$port);
1313
$node = PostgreSQL::Test::Cluster->new('test');
14-
$node->init;
14+
$node->init(auth_extra=> ['--create-role'=>'no_such_user' ]);
1515
$node->start;
1616
$port =$node->port;
1717

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp