1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-27 23:21:58 +03:00

Change error messages ExecAppend->ExecInsert and ExecReplace->ExecUpdate

as discussed on hackers.
This commit is contained in:
Bruce Momjian
2002-07-11 21:36:20 +00:00
parent c20ae1ce50
commit 29dfd5fa26
6 changed files with 41 additions and 41 deletions

View File

@ -27,7 +27,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.169 2002/06/26 22:16:54 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.170 2002/07/11 21:36:20 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -1223,7 +1223,7 @@ ExecInsert(TupleTableSlot *slot,
* Check the constraints of the tuple
*/
if (resultRelationDesc->rd_att->constr)
ExecConstraints("ExecAppend", resultRelInfo, slot, estate);
ExecConstraints("ExecInsert", resultRelInfo, slot, estate);
/*
* insert the tuple
@ -1369,7 +1369,7 @@ ExecUpdate(TupleTableSlot *slot,
*/
if (IsBootstrapProcessingMode())
{
elog(WARNING, "ExecReplace: replace can't run without transactions");
elog(WARNING, "ExecUpdate: UPDATE can't run without transactions");
return;
}
@ -1420,7 +1420,7 @@ ExecUpdate(TupleTableSlot *slot,
*/
lreplace:;
if (resultRelationDesc->rd_att->constr)
ExecConstraints("ExecReplace", resultRelInfo, slot, estate);
ExecConstraints("ExecUpdate", resultRelInfo, slot, estate);
/*
* replace the heap tuple