Skip to content

Savepoint creation should prepend rather than doing a network roundtrip #2892

@roji

Description

@roji

When BeginTransaction is called, Npgsql prepends the actual message - it's written to the buffer but only sent to the server when the next actual command is executed, in order to save a network roundtrip. We should do the same when starting a savepoint.

Rollback and Release should be executed immediately (just like regular rollback) to release any resources tied/locked by the transaction.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions