We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d73380 commit 22d6ee5Copy full SHA for 22d6ee5
contrib/pg_pathman/init.c
@@ -342,10 +342,9 @@ load_check_constraints(Oid parent_oid, Snapshot snapshot)
342
{
343
Datum cur_upper = PATHMAN_GET_DATUM(ranges[i].max, byVal);
344
Datum next_lower = PATHMAN_GET_DATUM(ranges[i+1].min, byVal);
345
- bool overlap = FunctionCall2(qsort_type_cmp_func, next_lower, cur_upper) < 0;
+ bool overlap = DatumGetInt32(FunctionCall2(qsort_type_cmp_func, next_lower, cur_upper)) < 0;
346
347
if (overlap)
348
- // if (ranges[i].max > ranges[i+1].min)
349
350
RelationKey key;
351
key.dbid = MyDatabaseId;
0 commit comments