Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 755df30

Browse files
committed
Fix incorrect format placeholders
1 parent 9ddf251 commit 755df30

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/backend/executor/execExprInterp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4786,7 +4786,7 @@ ExecPrepareJsonItemCoercion(JsonbValue *item,
47864786
coercion = &coercions->timestamptz;
47874787
break;
47884788
default:
4789-
elog(ERROR, "unexpected jsonb datetime type oid %d",
4789+
elog(ERROR, "unexpected jsonb datetime type oid %u",
47904790
item->val.datetime.typid);
47914791
return (Datum) 0;
47924792
}

src/backend/utils/activity/pgstat_xact.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ pgstat_create_transactional(PgStat_Kind kind, Oid dboid, Oid objoid)
368368
if (pgstat_get_entry_ref(kind, dboid, objoid, false, NULL))
369369
{
370370
ereport(WARNING,
371-
errmsg("resetting existing stats for type %s, db=%d, oid=%d",
371+
errmsg("resetting existing stats for type %s, db=%u, oid=%u",
372372
(pgstat_get_kind_info(kind))->name, dboid, objoid));
373373

374374
pgstat_reset(kind, dboid, objoid);

0 commit comments

Comments
 (0)