File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 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
22"""
33 Test RUM index with big base 'pglist'
44
@@ -56,7 +56,8 @@ def init_pglist_data(self, node):
5656 pglist_dumpgz = pglist_dump + ".gz"
5757 if not os .path .isfile (pglist_dumpgz ):
5858 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" ,
6061 pglist_dumpgz )
6162
6263 print ("Decompressing: %s" % pglist_dumpgz )
@@ -83,7 +84,8 @@ def test_order_by(self):
8384 try :
8485 print ("Creating index 'rumidx_orderby_sent'" )
8586
86- self .node .safe_psql ("pglist" ,
87+ self .node .safe_psql (
88+ "pglist" ,
8789 "CREATE INDEX rumidx_orderby_sent ON pglist USING rum ("
8890 " fts rum_tsvector_timestamp_ops, sent) "
8991 " WITH (attach=sent, to=fts, order_by_attach=t)" )
@@ -113,4 +115,4 @@ def test_order_by(self):
113115 raise e
114116
115117if __name__ == "__main__" :
116- unittest .main ()
118+ unittest .main ()
You can’t perform that action at this time.
0 commit comments