Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4c48c0f

Browse files
committed
Fix incorrect format placeholders for Oid
1 parent 57f5939 commit 4c48c0f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/backend/utils/adt/jsonpath_exec.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -2413,7 +2413,7 @@ executeDateTimeMethod(JsonPathExecContext *cxt, JsonPathItem *jsp,
24132413
value);
24142414
break;
24152415
default:
2416-
elog(ERROR, "type with oid %d not supported", typid);
2416+
elog(ERROR, "type with oid %u not supported", typid);
24172417
}
24182418

24192419
typid = DATEOID;
@@ -2445,7 +2445,7 @@ executeDateTimeMethod(JsonPathExecContext *cxt, JsonPathItem *jsp,
24452445
value);
24462446
break;
24472447
default:
2448-
elog(ERROR, "type with oid %d not supported", typid);
2448+
elog(ERROR, "type with oid %u not supported", typid);
24492449
}
24502450

24512451
/* Force the user-given time precision, if any */
@@ -2490,7 +2490,7 @@ executeDateTimeMethod(JsonPathExecContext *cxt, JsonPathItem *jsp,
24902490
value);
24912491
break;
24922492
default:
2493-
elog(ERROR, "type with oid %d not supported", typid);
2493+
elog(ERROR, "type with oid %u not supported", typid);
24942494
}
24952495

24962496
/* Force the user-given time precision, if any */
@@ -2535,7 +2535,7 @@ executeDateTimeMethod(JsonPathExecContext *cxt, JsonPathItem *jsp,
25352535
value);
25362536
break;
25372537
default:
2538-
elog(ERROR, "type with oid %d not supported", typid);
2538+
elog(ERROR, "type with oid %u not supported", typid);
25392539
}
25402540

25412541
/* Force the user-given time precision, if any */
@@ -2587,7 +2587,7 @@ executeDateTimeMethod(JsonPathExecContext *cxt, JsonPathItem *jsp,
25872587
case TIMESTAMPTZOID: /* Nothing to do for TIMESTAMPTZ */
25882588
break;
25892589
default:
2590-
elog(ERROR, "type with oid %d not supported", typid);
2590+
elog(ERROR, "type with oid %u not supported", typid);
25912591
}
25922592

25932593
/* Force the user-given time precision, if any */

0 commit comments

Comments
 (0)