postgres.git / summary / log / commit / refs

commit    4c48c0fe561c2b07831c2a296da637401cb953c6
Author:   Peter Eisentraut <peter@eisentraut.org>
Date:     Tue Jan 30 08:11:41 2024 +0000
First released in: 17.0

    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 22f598cd359..573b6ce2ba7 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 */ [parent: 57f59396bb51]