microsoft / azuredatastudio-postgresql

azuredatastudio-postgresql is an extension for Azure Data Studio that enables you to work with PostgreSQL databases
Other
192 stars 37 forks source link

Transactions can't be managed explicitly #433

Closed awhalbert closed 12 months ago

awhalbert commented 1 year ago

Description BEGIN; INSERT INTO foo VALUES ('foo'); ROLLBACK;

The above commits, rather than rolls back. The value exists in the table.

Repro Try to use explicit transactions and control whether they commit or roll back.

OS Windows 11 Enterprise Version 10.0.22621 Build 22621

Versions

mistermiracl commented 1 year ago

I can confirm this, when I was on 0.2.7 I could use explicit transaction without any issues, now that I'm on 0.4.2 BEGIN/BEGIN TRANSACTION are simply ignored

S4NT14G0 commented 1 year ago

Same issue here. Basically rendering this unusable for me and my team.

DaeunYim commented 1 year ago

We will work on the fix. Meanwhile, you can download the previous version here https://github.com/microsoft/azuredatastudio-postgresql/releases/tag/v0.3.1

nasc17 commented 1 year ago

Hello, issue has been addressed in our unstable release of PostgreSQL extension v0.4.3-insiders. We would appreciate your verification that it has been handled appropriately.

awhalbert commented 1 year ago

Hi, I installed 0.4.3 (Win64) but I get this when I try to initiate any database connection: image

DaeunYim commented 1 year ago

@awhalbert can you check the latest stable release 0.5.0? Otherwise, we will need more information on your connection params.

nasc17 commented 12 months ago

Bug has been addressed in latest stable release of PostgreSQL extension v0.5.0. Please reopen if issue is still present, thank you.

awhalbert commented 12 months ago

Yes, looks good now, thanks!