mirror of
https://github.com/postgres/postgres.git
synced 2025-06-16 06:01:02 +03:00
Goodbye ABORT. Hello ERROR for all errors.
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/access/transam/transam.c,v 1.15 1998/01/05 03:30:07 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/access/transam/transam.c,v 1.16 1998/01/07 21:02:17 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* This file contains the high level access-method interface to the
|
||||
@ -183,7 +183,7 @@ TransactionLogTest(TransactionId transactionId, /* transaction id to test */
|
||||
* here the block didn't contain the information we wanted
|
||||
* ----------------
|
||||
*/
|
||||
elog(ABORT, "TransactionLogTest: failed to get xidstatus");
|
||||
elog(ERROR, "TransactionLogTest: failed to get xidstatus");
|
||||
|
||||
/*
|
||||
* so lint is happy...
|
||||
@ -308,7 +308,7 @@ TransRecover(Relation logRelation)
|
||||
*/
|
||||
TransGetLastRecordedTransaction(logRelation, logLastXid, &fail);
|
||||
if (fail == true)
|
||||
elog(ABORT, "TransRecover: failed TransGetLastRecordedTransaction");
|
||||
elog(ERROR, "TransRecover: failed TransGetLastRecordedTransaction");
|
||||
|
||||
/* ----------------
|
||||
* next get the "last" and "next" variables
|
||||
@ -322,7 +322,7 @@ TransRecover(Relation logRelation)
|
||||
* ----------------
|
||||
*/
|
||||
if (TransactionIdIsLessThan(varNextXid, logLastXid))
|
||||
elog(ABORT, "TransRecover: varNextXid < logLastXid");
|
||||
elog(ERROR, "TransRecover: varNextXid < logLastXid");
|
||||
|
||||
/* ----------------
|
||||
* intregity test (2)
|
||||
|
Reference in New Issue
Block a user