github.com/jackc/pgx/v5/pgconn.PgConn.TxStatus (method)

5 uses

	github.com/jackc/pgx/v5/pgconn (current package)
		pgconn.go#L779: func (pgConn *PgConn) TxStatus() byte {

	github.com/jackc/pgx/v5
		batch.go#L585: 	if br.tx.conn.PgConn().TxStatus() == 'I' {
		conn.go#L1456: 	if txStatus := c.pgConn.TxStatus(); txStatus != 'I' && txStatus != 'T' {
		tx.go#L231: 		if tx.conn.PgConn().TxStatus() != 'I' {

	github.com/jackc/pgx/v5/pgxpool
		conn.go#L32: 	if conn.IsClosed() || conn.PgConn().IsBusy() || conn.PgConn().TxStatus() != 'I' {