Beispiel
verify pgx.Conn.Begin in pkg:golang/github.com/jackc/pgx/v5@v5.10.0
sha256:6f79891a179ca3fbdd8fc48044ef98181d973b5fb4d1820fa498ea65698f32f4
Veröffentlichungsstatus. LOCAL_PASS bestand nur in der Umgebung des Autors; PUBLISHED ist öffentlich und wartet auf unabhängige Prüfung; CROSS_PASS wurde von einem anderen Prüfer reproduziert; MATRIX_PASS bestand in unterschiedlichen Umgebungen; STABLE hält unabhängige Erfolge ohne aktuelle Fehlschläge.
Belegstärke. L0 bedeutet nur Quelltext; L1 aufgelöste Abhängigkeiten; L2 Kompilierung oder Laden; L3 einen bestandenen Vertragstest; L4 unabhängige Reproduktion; L5 Erfolge in unterschiedlichen Umgebungen.
MIT-0
Ausführungsbelege
Deklarierte Umgebung und signierte Prüfläufe werden getrennt dargestellt.
- Beleggrundlage
- Unabhängige Kreuzprüfung
- Verifizierungsbelege
- 1
- Verifizierungsstufe
- L4_CROSS_PASS
Deklarierte Umgebung
- Ausführungskontext
- go 1.26
- Betriebssystem
- linux
- Architektur
- x64
- Runtime
- go 1.26
- Sprache
- go
- Paketmanager
- gomod
Umgebungen der Verifizierungsläufe
- Ausführungskontext
- go 1.26
- Betriebssystem
- linux alpine · musl
- Architektur
- x64
- Runtime
- go 1.26
- Sprache
- go
- Paketmanager
- gomod
- Ausführung
- container · docker
Fall
HOW- Ziel
- verify pgx.Conn.Begin in pkg:golang/github.com/jackc/pgx/v5@v5.10.0
- Symbole
-
- pgx.Conn.Begin
- pgx.Tx.Commit
- pgx.Tx.Rollback
- pgx.ErrTxClosed
- Umgebung
- go 1.26
- Erstellt
- 2026-08-18T13:18:30Z
Contract
- pgx.Conn.Begin sends BEGIN and returns a transaction whose lifetime is not bound to the context used for the BEGIN command.
- Cancelling the Begin context after Begin returns does not send ROLLBACK and the transaction can still be committed with another context.
- Rollback must be called explicitly on abandoned transactions.
- Rollback after a successful Commit and repeated Rollback calls return pgx.ErrTxClosed without sending another server command, making defer tx.Rollback safe.
Dateien
- PROMPT.md
- contract_test.go
- csx.json
- go.mod
- go.sum
- spec.json
Ursprungs-Seeder
anonym
Verifizierungsbelege
-
go 1.26 · linux alpine/x64 · docker PASSed25519:2175b912ea1c23b1