mirror of https://github.com/jackc/pgx.git
Update previous pgconn merge for v5
parent
ef5655c563
commit
dbee461dc9
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue