summaryrefslogtreecommitdiff
path: root/vendor/github.com/jackc/pgproto3/v2/backend.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2021-11-27 15:26:58 +0100
committerLibravatar GitHub <noreply@github.com>2021-11-27 15:26:58 +0100
commit182b4eea73881c611a0f519576aa6ad2aa6799c2 (patch)
tree230fac469690fcee8797b13585e739be148d4789 /vendor/github.com/jackc/pgproto3/v2/backend.go
parentRequire confirmed email when checking oauth token (#332) (diff)
downloadgotosocial-182b4eea73881c611a0f519576aa6ad2aa6799c2.tar.xz
Update dependencies (#333)
Diffstat (limited to 'vendor/github.com/jackc/pgproto3/v2/backend.go')
-rw-r--r--vendor/github.com/jackc/pgproto3/v2/backend.go12
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':