1
0
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:
Peter Eisentraut 2022-04-27 09:49:10 +02:00
parent 9ddf251f94
commit 755df30e48
2 changed files with 2 additions and 2 deletions

View File

@ -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;
} }

View File

@ -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);