Update previous pgconn merge for v5

v5-dev
Jack Christensen 2022-08-19 17:42:04 -05:00
parent ef5655c563
commit dbee461dc9
1 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@ import (
"bytes"
"compress/gzip"
"context"
"crypto/tls"
"errors"
"fmt"
"io"
@ -2738,7 +2739,7 @@ func TestSNISupport(t *testing.T) {
return
}
backend := pgproto3.NewBackend(pgproto3.NewChunkReader(conn), conn)
backend := pgproto3.NewBackend(conn, conn)
startupMessage, err := backend.ReceiveStartupMessage()
if err != nil {
serverErrChan <- err