MCPcopy
hub / github.com/jackc/pgx / PID

Method PID

pgconn/pgconn.go:708–710  ·  view source on GitHub ↗

PID returns the backend PID.

()

Source from the content-addressed store, hash-verified

706
707// PID returns the backend PID.
708func (pgConn *PgConn) PID() uint32 {
709 return pgConn.pid
710}
711
712// TxStatus returns the current TxStatus as reported by the server in the ReadyForQuery message.
713//

Callers 14

TestFatalRxErrorFunction · 0.80
TestFatalTxErrorFunction · 0.80
logMethod · 0.80
TestCheckIdleConnFunction · 0.80
TestPoolAfterReleaseFunction · 0.80
TestPoolBeforeCloseFunction · 0.80
TestConnCheckConnFunction · 0.80

Calls

no outgoing calls

Tested by 13

TestFatalRxErrorFunction · 0.64
TestFatalTxErrorFunction · 0.64
TestCheckIdleConnFunction · 0.64
TestPoolAfterReleaseFunction · 0.64
TestPoolBeforeCloseFunction · 0.64
TestConnCheckConnFunction · 0.64
TestConnPingFunction · 0.64