mirror of
https://github.com/postgres/postgres.git
synced 2025-11-13 16:22:44 +03:00
Change made to elog:
o Change all current CVS messages of NOTICE to WARNING. We were going to do this just before 7.3 beta but it has to be done now, as you will see below. o Change current INFO messages that should be controlled by client_min_messages to NOTICE. o Force remaining INFO messages, like from EXPLAIN, VACUUM VERBOSE, etc. to always go to the client. o Remove INFO from the client_min_messages options and add NOTICE. Seems we do need three non-ERROR elog levels to handle the various behaviors we need for these messages. Regression passed.
This commit is contained in:
@@ -42,7 +42,7 @@ beos_dl_open(char *filename)
|
||||
|
||||
if ((beos_dl_port_in <= 0) || (beos_dl_port_out <= 0))
|
||||
{
|
||||
elog(NOTICE, "Error loading BeOS support server : can't create communication ports");
|
||||
elog(WARNING, "Error loading BeOS support server : can't create communication ports");
|
||||
return B_ERROR;
|
||||
}
|
||||
else
|
||||
@@ -68,7 +68,7 @@ beos_dl_open(char *filename)
|
||||
/* Checking integrity */
|
||||
if (im < 0)
|
||||
{
|
||||
elog(NOTICE, "Can't load this add-on ");
|
||||
elog(WARNING, "Can't load this add-on ");
|
||||
return B_ERROR;
|
||||
}
|
||||
else
|
||||
@@ -92,7 +92,7 @@ beos_dl_open(char *filename)
|
||||
/* Remap */
|
||||
resu = clone_area(datas, &add, B_EXACT_ADDRESS, B_READ_AREA | B_WRITE_AREA, area);
|
||||
if (resu < 0)
|
||||
elog(NOTICE, "Can't load this add-on : map text error");
|
||||
elog(WARNING, "Can't load this add-on : map text error");
|
||||
}
|
||||
|
||||
/* read text segment id and address */
|
||||
@@ -108,7 +108,7 @@ beos_dl_open(char *filename)
|
||||
/* Remap */
|
||||
resu = clone_area(datas, &add, B_EXACT_ADDRESS, B_READ_AREA | B_WRITE_AREA, area);
|
||||
if (resu < 0)
|
||||
elog(NOTICE, "Can't load this add-on : map data error");
|
||||
elog(WARNING, "Can't load this add-on : map data error");
|
||||
}
|
||||
|
||||
return im;
|
||||
@@ -126,7 +126,7 @@ beos_dl_sym(image_id im, char *symname, void **fptr)
|
||||
read_port(beos_dl_port_out, (int32 *) (fptr), NULL, 0);
|
||||
|
||||
if (fptr == NULL)
|
||||
elog(NOTICE, "loading symbol '%s' failed ", symname);
|
||||
elog(WARNING, "loading symbol '%s' failed ", symname);
|
||||
}
|
||||
|
||||
status_t
|
||||
|
||||
Reference in New Issue
Block a user