1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-29 10:41:53 +03:00

New parallel regression test shell and related things.

Jan
This commit is contained in:
Jan Wieck
1999-11-19 18:51:52 +00:00
parent 58d1eeaafe
commit 43499af4ab
8 changed files with 1441 additions and 849 deletions

View File

@ -5,7 +5,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Header: /cvsroot/pgsql/src/backend/access/transam/xlog.c,v 1.7 1999/10/25 03:07:42 tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/access/transam/xlog.c,v 1.8 1999/11/19 18:51:47 wieck Exp $
*
*-------------------------------------------------------------------------
*/
@ -1253,15 +1253,15 @@ tryAgain:
{
fd = errno;
if (!ReleaseDataFile())
elog(STOP, "Open(cntlfile) failed: %d (and no one data file can be closed)",
fd);
elog(STOP, "Open(\"%s\") failed: %d (and no one data file can be closed)",
ControlFilePath, fd);
goto tryAgain;
}
if (fd < 0)
elog(STOP, "Open(cntlfile) failed: %d", errno);
elog(STOP, "Open(\"%s\") failed: %d", ControlFilePath, errno);
if (read(fd, ControlFile, BLCKSZ) != BLCKSZ)
elog(STOP, "Read(cntlfile) failed: %d", errno);
elog(STOP, "Read(\"%s\") failed: %d", ControlFilePath, errno);
close(fd);