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
1 changed files with 5 additions and 5 deletions

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