superfly/corrosion

Bulletproof postgres transaction handling

オープン

#502 opened on 2026/08/07

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (83 件のフォーク)auto 404
buggood first issue

Repository metrics

Stars
 (1,817 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド