File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
- #coding: utf-8
1
+ # coding: utf-8
2
2
"""
3
3
Test RUM index with big base 'pglist'
4
4
@@ -56,7 +56,8 @@ def init_pglist_data(self, node):
56
56
pglist_dumpgz = pglist_dump + ".gz"
57
57
if not os .path .isfile (pglist_dumpgz ):
58
58
print ("Downloading: %s" % pglist_dumpgz )
59
- request .urlretrieve ("http://www.sai.msu.su/~megera/postgres/files/pglist-28-04-16.dump.gz" ,
59
+ request .urlretrieve (
60
+ "http://www.sai.msu.su/~megera/postgres/files/pglist-28-04-16.dump.gz" ,
60
61
pglist_dumpgz )
61
62
62
63
print ("Decompressing: %s" % pglist_dumpgz )
@@ -83,7 +84,8 @@ def test_order_by(self):
83
84
try :
84
85
print ("Creating index 'rumidx_orderby_sent'" )
85
86
86
- self .node .safe_psql ("pglist" ,
87
+ self .node .safe_psql (
88
+ "pglist" ,
87
89
"CREATE INDEX rumidx_orderby_sent ON pglist USING rum ("
88
90
" fts rum_tsvector_timestamp_ops, sent) "
89
91
" WITH (attach=sent, to=fts, order_by_attach=t)" )
@@ -113,4 +115,4 @@ def test_order_by(self):
113
115
raise e
114
116
115
117
if __name__ == "__main__" :
116
- unittest .main ()
118
+ unittest .main ()
You can’t perform that action at this time.
0 commit comments