IsBusy reports if the connection is busy.
()
| 814 | |
| 815 | // IsBusy reports if the connection is busy. |
| 816 | func (pgConn *PgConn) IsBusy() bool { |
| 817 | return pgConn.status == connStatusBusy |
| 818 | } |
| 819 | |
| 820 | // lock locks the connection. |
| 821 | func (pgConn *PgConn) lock() error { |