mirror of
https://github.com/postgres/postgres.git
synced 2025-06-23 14:01:44 +03:00
Error message editing in backend/utils (except /adt).
This commit is contained in:
9
src/backend/utils/cache/inval.c
vendored
9
src/backend/utils/cache/inval.c
vendored
@ -74,7 +74,7 @@
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/cache/inval.c,v 1.55 2002/09/04 20:31:29 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/cache/inval.c,v 1.56 2003/07/25 20:17:52 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -450,8 +450,7 @@ LocalExecuteInvalidationMessage(SharedInvalidationMessage *msg)
|
||||
}
|
||||
else
|
||||
{
|
||||
elog(FATAL, "ExecuteInvalidationMessage: bogus message id %d",
|
||||
msg->id);
|
||||
elog(FATAL, "unrecognized SI message id: %d", msg->id);
|
||||
}
|
||||
}
|
||||
|
||||
@ -705,7 +704,7 @@ CacheRegisterSyscacheCallback(int cacheid,
|
||||
Datum arg)
|
||||
{
|
||||
if (cache_callback_count >= MAX_CACHE_CALLBACKS)
|
||||
elog(FATAL, "Out of cache_callback_list slots");
|
||||
elog(FATAL, "out of cache_callback_list slots");
|
||||
|
||||
cache_callback_list[cache_callback_count].id = cacheid;
|
||||
cache_callback_list[cache_callback_count].function = func;
|
||||
@ -728,7 +727,7 @@ CacheRegisterRelcacheCallback(CacheCallbackFunction func,
|
||||
Datum arg)
|
||||
{
|
||||
if (cache_callback_count >= MAX_CACHE_CALLBACKS)
|
||||
elog(FATAL, "Out of cache_callback_list slots");
|
||||
elog(FATAL, "out of cache_callback_list slots");
|
||||
|
||||
cache_callback_list[cache_callback_count].id = SHAREDINVALRELCACHE_ID;
|
||||
cache_callback_list[cache_callback_count].function = func;
|
||||
|
Reference in New Issue
Block a user