mirror of
https://github.com/postgres/postgres.git
synced 2025-04-25 21:42:33 +03:00
Fix incorrect format placeholders
This commit is contained in:
parent
9ddf251f94
commit
755df30e48
@ -4786,7 +4786,7 @@ ExecPrepareJsonItemCoercion(JsonbValue *item,
|
|||||||
coercion = &coercions->timestamptz;
|
coercion = &coercions->timestamptz;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
elog(ERROR, "unexpected jsonb datetime type oid %d",
|
elog(ERROR, "unexpected jsonb datetime type oid %u",
|
||||||
item->val.datetime.typid);
|
item->val.datetime.typid);
|
||||||
return (Datum) 0;
|
return (Datum) 0;
|
||||||
}
|
}
|
||||||
|
@ -368,7 +368,7 @@ pgstat_create_transactional(PgStat_Kind kind, Oid dboid, Oid objoid)
|
|||||||
if (pgstat_get_entry_ref(kind, dboid, objoid, false, NULL))
|
if (pgstat_get_entry_ref(kind, dboid, objoid, false, NULL))
|
||||||
{
|
{
|
||||||
ereport(WARNING,
|
ereport(WARNING,
|
||||||
errmsg("resetting existing stats for type %s, db=%d, oid=%d",
|
errmsg("resetting existing stats for type %s, db=%u, oid=%u",
|
||||||
(pgstat_get_kind_info(kind))->name, dboid, objoid));
|
(pgstat_get_kind_info(kind))->name, dboid, objoid));
|
||||||
|
|
||||||
pgstat_reset(kind, dboid, objoid);
|
pgstat_reset(kind, dboid, objoid);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user