mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-05 19:09:58 +08:00
Change error message and remove non-functional update message, from
Vadim.
This commit is contained in:
parent
a0f95aceb4
commit
fce7556d33
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.28 1998/06/15 19:27:51 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.29 1998/06/16 02:53:25 momjian Exp $
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* INTERFACE ROUTINES
|
* INTERFACE ROUTINES
|
||||||
@ -1202,7 +1202,10 @@ heap_delete(Relation relation, ItemPointer tid)
|
|||||||
Assert(HeapTupleIsValid(tp));
|
Assert(HeapTupleIsValid(tp));
|
||||||
if (TupleUpdatedByCurXactAndCmd(tp))
|
if (TupleUpdatedByCurXactAndCmd(tp))
|
||||||
{
|
{
|
||||||
elog(NOTICE, "Non-functional delete, tuple already deleted");
|
/*
|
||||||
|
Vadim says this is no longer needed 1998/6/15
|
||||||
|
elog(NOTICE, "Non-functional delete, tuple already deleted");
|
||||||
|
*/
|
||||||
if (IsSystemRelationName(RelationGetRelationName(relation)->data))
|
if (IsSystemRelationName(RelationGetRelationName(relation)->data))
|
||||||
RelationUnsetLockForWrite(relation);
|
RelationUnsetLockForWrite(relation);
|
||||||
ReleaseBuffer(b);
|
ReleaseBuffer(b);
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.41 1998/06/15 19:29:27 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.42 1998/06/16 02:53:26 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -74,7 +74,7 @@ if (1) \
|
|||||||
if (IsAbortedTransactionBlockState()) \
|
if (IsAbortedTransactionBlockState()) \
|
||||||
{ \
|
{ \
|
||||||
elog(NOTICE, "(transaction aborted): %s", \
|
elog(NOTICE, "(transaction aborted): %s", \
|
||||||
"queries ignored until END"); \
|
"all queries ignored until end of transaction block"); \
|
||||||
commandTag = "*ABORT STATE*"; \
|
commandTag = "*ABORT STATE*"; \
|
||||||
break; \
|
break; \
|
||||||
} \
|
} \
|
||||||
|
Loading…
Reference in New Issue
Block a user