Merge branch 'context' into v3-experimental
This commit is contained in:
@@ -48,6 +48,10 @@ func fpInt64Arg(n int64) fpArg {
|
||||
}
|
||||
|
||||
func (f *fastpath) Call(oid OID, args []fpArg) (res []byte, err error) {
|
||||
if err := f.cn.ensureConnectionReadyForQuery(); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
wbuf := newWriteBuf(f.cn, 'F') // function call
|
||||
wbuf.WriteInt32(int32(oid)) // function object id
|
||||
wbuf.WriteInt16(1) // # of argument format codes
|
||||
|
||||
Reference in New Issue
Block a user