Re: [GSoC] Question about returning bytea array - Mailing list pgsql-hackers

From Andrew Gierth
Subject Re: [GSoC] Question about returning bytea array
Date
Msg-id 87muwy3thu.fsf@news-spur.riddles.org.uk
Whole thread Raw
In response to [GSoC] Question about returning bytea array  (Charles Cui <charles.cui1984@gmail.com>)
Responses Re: [GSoC] Question about returning bytea array
List pgsql-hackers
>>>>> "Charles" == Charles Cui <charles.cui1984@gmail.com> 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)


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Odd procedure resolution
Next
From: Tom Lane
Date:
Subject: Re: Odd procedure resolution