2
0

Merge branch 'context' into v3-experimental

This commit is contained in:
Jack Christensen
2017-02-12 15:13:47 -06:00
16 changed files with 1035 additions and 205 deletions
+4
View File
@@ -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