The-DevOps-Daily/pg-wire-mock

Improve Transaction Management

Open

#57 geöffnet am 26. Sept. 2025

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (1 zugewiesene Person)JavaScript (15 Forks)github user discovery
hacktoberfest

Repository-Metriken

Stars
 (26 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Enhance transaction handling to better simulate PostgreSQL transaction behavior.

Description: Current transaction handling is basic. More realistic transaction behavior would improve testing capabilities.

Tasks:

  • Add proper BEGIN/COMMIT/ROLLBACK support
  • Implement savepoint handling
  • Add transaction isolation levels
  • Improve error handling within transactions
  • Create tests for transaction behavior
  • Update documentation

Related files:

  • src/connection/connectionState.js
  • src/handlers/queryHandlers.js

Contributor Guide