We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
2 parents9eb7fea +9a6a147 commit1e5c3efCopy full SHA for 1e5c3ef
contrib/pg_pathman/init.c
@@ -285,16 +285,16 @@ load_check_constraints(Oid parent_oid)
285
/* Copy oids to prel */
286
for(i=0;i<proc;i++)
287
children[i]=ranges[i].child_oid;
288
-}
289
290
-/* Check if some ranges overlap */
291
-for(i=0;i<proc-1;i++)
292
-{
293
-if (ranges[i].max>ranges[i+1].min)
+/* Check if some ranges overlap */
+for(i=0;i<proc-1;i++)
294
{
295
-elog(WARNING,"Partitions %u and %u overlap. Disabling pg_pathman for relation %u...",
296
-ranges[i].child_oid,ranges[i+1].child_oid,parent_oid);
297
-hash_search(relations, (constvoid*)&parent_oid,HASH_REMOVE,&found);
+if (ranges[i].max>ranges[i+1].min)
+{
+elog(WARNING,"Partitions %u and %u overlap. Disabling pathman for relation %u...",
+ranges[i].child_oid,ranges[i+1].child_oid,parent_oid);
+hash_search(relations, (constvoid*)&parent_oid,HASH_REMOVE,&found);
+}
298
}
299
300