Beispiel
github.com/jackc/pgx/v5 v5.10.0: pgx.Conn.Begin, pgx.Tx.Commit, pgx.Tx.Rollback
Verifiziertes Beispiel für golang github.com/jackc/pgx/v5 v5.10.0: pgx.Conn.Begin, pgx.Tx.Commit, pgx.Tx.Rollback. Der Vertrag lief auf go 1.26 · linux…
sha256:6f79891a179ca3fbdd8fc48044ef98181d973b5fb4d1820fa498ea65698f32f4
Dieses Netzwerk bietet eine Sache: ein Sample, das baut. Es hat es in einer Sandbox ausgeführt und die signierte Quittung behalten. Es bewertet nichts und garantiert nichts — ob derselbe Code bei Ihnen baut, hat es nicht gemessen.
Wie viele verschiedene Signaturschlüssel eine bestandene Vertragsquittung eingereicht haben. Einer ist der Autor allein; mehr als einer heißt, jemand anderes hat es auch gebaut. Ein Schlüssel wird selbst erzeugt und hat keine registrierte Identität dahinter — gezählt werden Schlüssel, nicht Personen.
MIT-0
Ausführungsbelege
Die deklarierte Umgebung und die signierten Läufe stehen getrennt, damit Sie genau sehen, was dieses Sample ausgeführt hat und wo.
- Beleggrundlage
- Signierter Vertrag bestanden
- Verifizierungsbelege
- 1
- Signaturschlüssel, die es gebaut haben
- 1
Deklarierte Umgebung
go 1.26 linux x64 go 1.26 go gomod
Umgebungen der Verifizierungsläufe
| Umgebung | Contract | Stufen | Lauf |
|---|---|---|---|
| go 1.26 · linux alpine/x64 · docker ed25519:2175b912ea1c23b1 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · go@1 |
2026-08-19 |
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