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

Support the PostgreSQL END transaction statement #2130

Closed
olavloite opened this issue Oct 28, 2022 · 0 comments · Fixed by #2131
Closed

Support the PostgreSQL END transaction statement #2130

olavloite opened this issue Oct 28, 2022 · 0 comments · Fixed by #2131
Assignees
Labels
api: spanner Issues related to the googleapis/java-spanner API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@olavloite
Copy link
Collaborator

PostgreSQL supports both COMMIT and END as valid commands to successfully end a transaction. The Connection API currently only supports COMMIT.

See also https://www.postgresql.org/docs/current/sql-end.html

@olavloite olavloite self-assigned this Oct 28, 2022
@product-auto-label product-auto-label bot added the api: spanner Issues related to the googleapis/java-spanner API. label Oct 28, 2022
@olavloite olavloite added type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. and removed api: spanner Issues related to the googleapis/java-spanner API. labels Oct 28, 2022
olavloite added a commit that referenced this issue Oct 28, 2022
Adds support for the PostgreSQL END statement in the Connection API.

Fixes #2130
@product-auto-label product-auto-label bot added the api: spanner Issues related to the googleapis/java-spanner API. label Oct 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the googleapis/java-spanner API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant