Skip to content

Commit 61fc420

Browse files
committed
Fix incorrect path in pg_regress log messages.
Back-patch to 9.5 where the bug was introduced. David Christensen
1 parent 9a8f583 commit 61fc420

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy