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:
@ -2413,7 +2413,7 @@ executeDateTimeMethod(JsonPathExecContext *cxt, JsonPathItem *jsp,
|
|||||||
value);
|
value);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
elog(ERROR, "type with oid %d not supported", typid);
|
elog(ERROR, "type with oid %u not supported", typid);
|
||||||
}
|
}
|
||||||
|
|
||||||
typid = DATEOID;
|
typid = DATEOID;
|
||||||
@ -2445,7 +2445,7 @@ executeDateTimeMethod(JsonPathExecContext *cxt, JsonPathItem *jsp,
|
|||||||
value);
|
value);
|
||||||
break;
|
break;
|
||||||
default:
|
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 */
|
/* Force the user-given time precision, if any */
|
||||||
@ -2490,7 +2490,7 @@ executeDateTimeMethod(JsonPathExecContext *cxt, JsonPathItem *jsp,
|
|||||||
value);
|
value);
|
||||||
break;
|
break;
|
||||||
default:
|
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 */
|
/* Force the user-given time precision, if any */
|
||||||
@ -2535,7 +2535,7 @@ executeDateTimeMethod(JsonPathExecContext *cxt, JsonPathItem *jsp,
|
|||||||
value);
|
value);
|
||||||
break;
|
break;
|
||||||
default:
|
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 */
|
/* Force the user-given time precision, if any */
|
||||||
@ -2587,7 +2587,7 @@ executeDateTimeMethod(JsonPathExecContext *cxt, JsonPathItem *jsp,
|
|||||||
case TIMESTAMPTZOID: /* Nothing to do for TIMESTAMPTZ */
|
case TIMESTAMPTZOID: /* Nothing to do for TIMESTAMPTZ */
|
||||||
break;
|
break;
|
||||||
default:
|
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 */
|
/* Force the user-given time precision, if any */
|
||||||
|
Reference in New Issue
Block a user