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

Commit61fc420

Browse files
committed
Fix incorrect path in pg_regress log messages.
Back-patch to 9.5 where the bug was introduced.David Christensen
1 parent9a8f583 commit61fc420

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/test/regress/pg_regress.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2223,7 +2223,7 @@ regression_main(int argc, char *argv[], init_function ifunc, test_function tfunc
22232223
temp_instance);
22242224
if (system(buf))
22252225
{
2226-
fprintf(stderr,_("\n%s: initdb failed\nExamine %s/log/initdb.log for the reason.\nCommand was: %s\n"),progname,outputdir,buf);
2226+
fprintf(stderr,_("\n%s: initdb failed\nExamine %s/log/initdb.log for the reason.\nCommand was: %s\n"),progname,temp_instance,buf);
22272227
exit(2);
22282228
}
22292229

@@ -2353,15 +2353,15 @@ regression_main(int argc, char *argv[], init_function ifunc, test_function tfunc
23532353
if (WaitForSingleObject(postmaster_pid,0)==WAIT_OBJECT_0)
23542354
#endif
23552355
{
2356-
fprintf(stderr,_("\n%s: postmaster failed\nExamine %s/log/postmaster.log for the reason\n"),progname,outputdir);
2356+
fprintf(stderr,_("\n%s: postmaster failed\nExamine %s/log/postmaster.log for the reason\n"),progname,temp_instance);
23572357
exit(2);
23582358
}
23592359

23602360
pg_usleep(1000000L);
23612361
}
23622362
if (i >=60)
23632363
{
2364-
fprintf(stderr,_("\n%s: postmaster did not respond within 60 seconds\nExamine %s/log/postmaster.log for the reason\n"),progname,outputdir);
2364+
fprintf(stderr,_("\n%s: postmaster did not respond within 60 seconds\nExamine %s/log/postmaster.log for the reason\n"),progname,temp_instance);
23652365

23662366
/*
23672367
* If we get here, the postmaster is probably wedged somewhere in

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp