mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +03:00
Fixed all elog related warnings, as well as a few others.
This commit is contained in:
@@ -417,7 +417,7 @@ init_sequence(char *caller, char *name)
|
||||
if (RelationGetRelid(seqrel) != elm->relid)
|
||||
{
|
||||
elog(NOTICE, "%s.%s: sequence was re-created",
|
||||
name, caller, name);
|
||||
name, caller);
|
||||
elm->relid = RelationGetRelid(seqrel);
|
||||
elm->cached = elm->last = elm->increment = 0;
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Routines for handling of 'SET var TO',
|
||||
* 'SHOW var' and 'RESET var' statements.
|
||||
*
|
||||
* $Id: variable.c,v 1.26 1999/09/27 20:27:03 momjian Exp $
|
||||
* $Id: variable.c,v 1.27 2000/01/15 02:59:29 petere Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -523,7 +523,7 @@ reset_timezone()
|
||||
{
|
||||
strcpy(tzbuf, "=");
|
||||
if (putenv(tzbuf) != 0)
|
||||
elog(ERROR, "Unable to clear TZ environment variable", NULL);
|
||||
elog(ERROR, "Unable to clear TZ environment variable");
|
||||
tzset();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user