construct_md_array works for me, thanks for inputs! 2018-05-17 13:42 GMT-07:00 Andrew Gierth <[email protected]>:
> >>>>> "Charles" == Charles Cui <[email protected]> writes: > > Charles> I have the requirements to return a bytea array for some > Charles> functions in pg_thrift plugin. > > If you mean you want the return value to be of type bytea[], i.e. an SQL > array of bytea values, then you need to be using construct_array to > construct the result. > > -- > Andrew (irc:RhodiumToad) >
