diff options
Diffstat (limited to 'vendor/github.com/jackc/pgproto3/v2/backend.go')
-rw-r--r-- | vendor/github.com/jackc/pgproto3/v2/backend.go | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/vendor/github.com/jackc/pgproto3/v2/backend.go b/vendor/github.com/jackc/pgproto3/v2/backend.go index e9ba38fc3..9c42ad02e 100644 --- a/vendor/github.com/jackc/pgproto3/v2/backend.go +++ b/vendor/github.com/jackc/pgproto3/v2/backend.go @@ -21,6 +21,7 @@ type Backend struct { describe Describe execute Execute flush Flush + functionCall FunctionCall gssEncRequest GSSEncRequest parse Parse query Query @@ -29,10 +30,11 @@ type Backend struct { sync Sync terminate Terminate - bodyLen int - msgType byte - partialMsg bool - authType uint32 + bodyLen int + msgType byte + partialMsg bool + authType uint32 + } const ( @@ -125,6 +127,8 @@ func (b *Backend) Receive() (FrontendMessage, error) { msg = &b.describe case 'E': msg = &b.execute + case 'F': + msg = &b.functionCall case 'f': msg = &b.copyFail case 'd': |