Error 'ProgrammingError: no results to fetch' under 'NodeConnection.execute' method call that executes utility query that doesn't return any result
Closed this issue · 2 comments
maksm90 commented
This fragment:
with node.connect() as con:
con.execute('create table range_partitioned as select generate_series(1, 1e4) i')
fails with error:
Traceback (most recent call last):
...
File ".../lib/python2.7/site-packages/testgres/testgres.py", line 132, in execute
return self.cursor.fetchall()
ProgrammingError: no results to fetch
funbringer commented
fixed in 0.1.15