From fa57c699fe9d2db81d7806d6e30c0e388fa01673 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 21 Jul 2023 14:22:20 +0000 Subject: [chore]: Bump github.com/jackc/pgx/v5 from 5.4.1 to 5.4.2 (#1991) --- vendor/github.com/jackc/pgx/v5/pgproto3/frontend.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vendor/github.com/jackc/pgx/v5/pgproto3/frontend.go') diff --git a/vendor/github.com/jackc/pgx/v5/pgproto3/frontend.go b/vendor/github.com/jackc/pgx/v5/pgproto3/frontend.go index 83dea9638..33c3882a2 100644 --- a/vendor/github.com/jackc/pgx/v5/pgproto3/frontend.go +++ b/vendor/github.com/jackc/pgx/v5/pgproto3/frontend.go @@ -361,3 +361,7 @@ func (f *Frontend) findAuthenticationMessageType(src []byte) (BackendMessage, er func (f *Frontend) GetAuthType() uint32 { return f.authType } + +func (f *Frontend) ReadBufferLen() int { + return f.cr.wp - f.cr.rp +} -- cgit v1.2.3