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)