superfly/corrosion

Bulletproof postgres transaction handling

开放

#502 创建于 2026年8月7日

 (0 条评论) (0 个反应) (0 位负责人)Rust (83 个派生)auto 404
buggood first issue

仓库指标

星标
 (1,817 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

As per https://github.com/superfly/corrosion/pull/176 if an statement within an ongoing postgres transaction errors we should reject all commands other than a ROLLBACK. Currently we only do discard_until_sync on errors so if a transaction fails and the client sends a SYNC message then it can send another failing statement. Also as per the original PR we should error on trying to start an nested transaction.

贡献者指南