diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2024-01-30 09:11:41 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2024-01-30 09:11:41 +0100 |
commit | 4c48c0fe561c2b07831c2a296da637401cb953c6 (patch) | |
tree | d2ce9bad4c2e835da95ca139dddcb5e8e184ec5b /src/backend/utils/adt/jsonpath_exec.c | |
parent | 57f59396bb51953bb7b957780c7f1b7f67602125 (diff) | |
download | postgresql-4c48c0fe561c2b07831c2a296da637401cb953c6.tar.gz postgresql-4c48c0fe561c2b07831c2a296da637401cb953c6.zip |
Fix incorrect format placeholders for Oid
Diffstat (limited to 'src/backend/utils/adt/jsonpath_exec.c')
-rw-r--r-- | src/backend/utils/adt/jsonpath_exec.c | 10 |
1 files 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 */ |