github.com/lib/pq.conn.txnStatus (field)
8 uses
github.com/lib/pq (current package)
conn.go#L121: txnStatus transactionStatus
conn.go#L495: return cn.txnStatus == txnStatusIdleInTransaction ||
conn.go#L496: cn.txnStatus == txnStatusInFailedTransaction
conn.go#L502: errorf("unexpected transaction status %v", cn.txnStatus)
conn.go#L525: if cn.txnStatus != txnStatusIdleInTransaction {
conn.go#L527: return nil, fmt.Errorf("unexpected transaction status %v", cn.txnStatus)
conn.go#L552: if cn.txnStatus == txnStatusInFailedTransaction {
conn.go#L1637: cn.txnStatus = transactionStatus(r.byte())
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |