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

Commit076e3fd

Browse files
author
Sofia Kopikova
committed
[PBCKP-394] skip creating partitioned index on < 11 versions on test_checkdb_amcheck_only_sanity
1 parent822fbbf commit076e3fd

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

‎tests/checkdb_test.py‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,11 @@ def test_checkdb_amcheck_only_sanity(self):
4040
"create table idxpart (a int) "
4141
"partition by range (a)")
4242

43-
node.safe_psql(
44-
"postgres",
45-
"create index on idxpart(a)")
43+
# there aren't partitioned indexes on 10 and lesser versions
44+
ifself.get_version(node)>=110000:
45+
node.safe_psql(
46+
"postgres",
47+
"create index on idxpart(a)")
4648

4749
try:
4850
node.safe_psql(

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp