1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-11 10:01:57 +03:00

Fix incorrect format placeholders for Oid

This commit is contained in:
Peter Eisentraut
2024-01-30 09:11:41 +01:00
parent 57f59396bb
commit 4c48c0fe56

View File

@ -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 */