Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary output #88

Merged
merged 1 commit into from
Dec 22, 2023
Merged

Remove unnecessary output #88

merged 1 commit into from
Dec 22, 2023

Conversation

homper
Copy link
Contributor

@homper homper commented Sep 10, 2023

For example, this script

#!/usr/bin/env python3
# coding: utf-8

import testgres

node = testgres.get_new_node()
node.init()
node.start()
node.safe_psql("CREATE TABLE IF NOT EXISTS o_test (val int);")
node.execute("INSERT INTO o_test VALUES (1);")
print(node.execute("TABLE o_test;")[0][0])
node.execute("UPDATE o_test SET val = 2;")
print(node.execute("TABLE o_test;")[0][0])
node.stop()

prints

python t/checkpointer_test.py
Error executing query: attempting to use unexecuted cursor
1
Error executing query: attempting to use unexecuted cursor
2

This is probably not the intended behavior

@demonolock demonolock merged commit 79a8dc5 into postgrespro:master Dec 22, 2023
@demonolock
Copy link
Contributor

@homper Thank you! Will add it to the next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants