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