mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
Change elog(WARN) to elog(ERROR) and elog(ABORT).
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/executor/nodeHash.c,v 1.13 1997/09/08 21:43:11 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/executor/nodeHash.c,v 1.14 1998/01/05 03:31:16 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -90,7 +90,7 @@ ExecHash(Hash *node)
|
||||
|
||||
hashtable = node->hashtable;
|
||||
if (hashtable == NULL)
|
||||
elog(WARN, "ExecHash: hash table is NULL.");
|
||||
elog(ABORT, "ExecHash: hash table is NULL.");
|
||||
|
||||
nbatch = hashtable->nbatch;
|
||||
|
||||
@ -359,7 +359,7 @@ ExecHashTableCreate(Hash *node)
|
||||
|
||||
if (hashtable == NULL)
|
||||
{
|
||||
elog(WARN, "not enough memory for hashjoin.");
|
||||
elog(ABORT, "not enough memory for hashjoin.");
|
||||
}
|
||||
/* ----------------
|
||||
* initialize the hash table header
|
||||
@ -635,7 +635,7 @@ ExecHashOverflowInsert(HashJoinTable hashtable,
|
||||
if (hashtable == NULL)
|
||||
{
|
||||
perror("repalloc");
|
||||
elog(WARN, "can't expand hashtable.");
|
||||
elog(ABORT, "can't expand hashtable.");
|
||||
}
|
||||
#else
|
||||
/* ------------------
|
||||
@ -644,7 +644,7 @@ ExecHashOverflowInsert(HashJoinTable hashtable,
|
||||
* - Chris Dunlop, <chris@onthe.net.au>
|
||||
* ------------------
|
||||
*/
|
||||
elog(WARN, "hash table out of memory. Use -B parameter to increase buffers.");
|
||||
elog(ABORT, "hash table out of memory. Use -B parameter to increase buffers.");
|
||||
#endif
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user