From 4c48c0fe561c2b07831c2a296da637401cb953c6 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 30 Jan 2024 09:11:41 +0100 Subject: [PATCH] Fix incorrect format placeholders for Oid --- src/backend/utils/adt/jsonpath_exec.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/backend/utils/adt/jsonpath_exec.c b/src/backend/utils/adt/jsonpath_exec.c index 22f598cd35..573b6ce2ba 100644 --- a/src/backend/utils/adt/jsonpath_exec.c +++ b/src/backend/utils/adt/jsonpath_exec.c @@ -2413,7 +2413,7 @@ executeDateTimeMethod(JsonPathExecContext *cxt, JsonPathItem *jsp, value); break; default: - elog(ERROR, "type with oid %d not supported", typid); + elog(ERROR, "type with oid %u not supported", typid); } typid = DATEOID; @@ -2445,7 +2445,7 @@ executeDateTimeMethod(JsonPathExecContext *cxt, JsonPathItem *jsp, value); break; default: - elog(ERROR, "type with oid %d not supported", typid); + elog(ERROR, "type with oid %u not supported", typid); } /* Force the user-given time precision, if any */ @@ -2490,7 +2490,7 @@ executeDateTimeMethod(JsonPathExecContext *cxt, JsonPathItem *jsp, value); break; default: - elog(ERROR, "type with oid %d not supported", typid); + elog(ERROR, "type with oid %u not supported", typid); } /* Force the user-given time precision, if any */ @@ -2535,7 +2535,7 @@ executeDateTimeMethod(JsonPathExecContext *cxt, JsonPathItem *jsp, value); break; default: - elog(ERROR, "type with oid %d not supported", typid); + elog(ERROR, "type with oid %u not supported", typid); } /* Force the user-given time precision, if any */ @@ -2587,7 +2587,7 @@ executeDateTimeMethod(JsonPathExecContext *cxt, JsonPathItem *jsp, case TIMESTAMPTZOID: /* Nothing to do for TIMESTAMPTZ */ break; default: - elog(ERROR, "type with oid %d not supported", typid); + elog(ERROR, "type with oid %u not supported", typid); } /* Force the user-given time precision, if any */ -- 2.30.2