Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1e5c3ef

Browse files
committed
Merge branch 'pathman_pgpro9_5' of gitlab.postgrespro.ru:pgpro-dev/postgrespro into pathman_pgpro9_5
Conflicts:contrib/pg_pathman/init.c
2 parents9eb7fea +9a6a147 commit1e5c3ef

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

‎contrib/pg_pathman/init.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -285,16 +285,16 @@ load_check_constraints(Oid parent_oid)
285285
/* Copy oids to prel */
286286
for(i=0;i<proc;i++)
287287
children[i]=ranges[i].child_oid;
288-
}
289288

290-
/* Check if some ranges overlap */
291-
for(i=0;i<proc-1;i++)
292-
{
293-
if (ranges[i].max>ranges[i+1].min)
289+
/* Check if some ranges overlap */
290+
for(i=0;i<proc-1;i++)
294291
{
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);
292+
if (ranges[i].max>ranges[i+1].min)
293+
{
294+
elog(WARNING,"Partitions %u and %u overlap. Disabling pathman for relation %u...",
295+
ranges[i].child_oid,ranges[i+1].child_oid,parent_oid);
296+
hash_search(relations, (constvoid*)&parent_oid,HASH_REMOVE,&found);
297+
}
298298
}
299299
}
300300
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp