IsClosed reports if the connection has been closed. CleanupDone() can be used to determine if all cleanup has been completed.
()
| 809 | // |
| 810 | // CleanupDone() can be used to determine if all cleanup has been completed. |
| 811 | func (pgConn *PgConn) IsClosed() bool { |
| 812 | return pgConn.status < connStatusIdle |
| 813 | } |
| 814 | |
| 815 | // IsBusy reports if the connection is busy. |
| 816 | func (pgConn *PgConn) IsBusy() bool { |
no outgoing calls