Skip to content

Remove unnecessary output #88

New issue

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

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

Already on GitHub? # to your account

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

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

Successfully merging this pull request may close these issues.

2 participants