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

Nested Transaction #40

Closed
Yeganloo opened this issue Sep 9, 2020 · 3 comments
Closed

Nested Transaction #40

Yeganloo opened this issue Sep 9, 2020 · 3 comments

Comments

@Yeganloo
Copy link

Yeganloo commented Sep 9, 2020

As Sqlalchemy and most of database-engines support nested transaction, why Pugsql not support it?

@Yeganloo
Copy link
Author

Yeganloo commented Sep 9, 2020

It seems that you planned to support nested transactions, so i report a bug:
If nested transaction commit and outer one do a role back, entire transaction will be committed!
Did you commit outer transaction before/after opening new one?

@Yeganloo
Copy link
Author

Yeganloo commented Sep 9, 2020

There is no nested transaction.
Transaction is singleton.

@mcfunley
Copy link
Owner

Added your fix to 0.2.2. Thank you!

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 a pull request may close this issue.

2 participants