2
0

Remove rxMsg

This commit is contained in:
Jack Christensen
2019-02-02 12:41:44 -06:00
parent 2e3738f0a9
commit 1ccd6527f5
3 changed files with 4 additions and 20 deletions
+2 -2
View File
@@ -219,7 +219,7 @@ func (rc *ReplicationConn) GetConnInfo() *pgtype.ConnInfo {
}
func (rc *ReplicationConn) readReplicationMessage() (r *ReplicationMessage, err error) {
msg, err := rc.c.rxMsg()
msg, err := rc.c.pgConn.ReceiveMessage()
if err != nil {
return
}
@@ -344,7 +344,7 @@ func (rc *ReplicationConn) sendReplicationModeQuery(sql string) (*Rows, error) {
rows.fatal(err)
}
msg, err := rc.c.rxMsg()
msg, err := rc.c.pgConn.ReceiveMessage()
if err != nil {
return nil, err
}