2
0

Remove Conn methods on ReplicationConn

Fixes infinite loop when any of the removed methods is called.
This commit is contained in:
Jan Vcelak
2019-03-18 18:52:52 +01:00
parent 1edfd3b682
commit bbe778863f
-12
View File
@@ -201,18 +201,6 @@ func (rc *ReplicationConn) SendStandbyStatus(k *StandbyStatus) (err error) {
return
}
func (rc *ReplicationConn) Close() error {
return rc.Close()
}
func (rc *ReplicationConn) IsAlive() bool {
return rc.IsAlive()
}
func (rc *ReplicationConn) CauseOfDeath() error {
return rc.CauseOfDeath()
}
func (rc *ReplicationConn) GetConnInfo() *pgtype.ConnInfo {
return rc.ConnInfo
}