From: | Charles Cui <charles(dot)cui1984(at)gmail(dot)com> |
---|---|
To: | Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk> |
Cc: | Aleksander Alekseev <a(dot)alekseev(at)postgrespro(dot)ru>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Anastasia Lubennikova <a(dot)lubennikova(at)postgrespro(dot)ru>, Andrey Borodin <x4mmm(at)yandex-team(dot)ru> |
Subject: | Re: [GSoC] Question about returning bytea array |
Date: | 2018-05-20 02:16:41 |
Message-ID: | CA+SXE9ujZPx-mgo=fKrhcKSj773zLZOFdLZOobtM0e7DKcWK3Q@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
construct_md_array works for me, thanks for inputs!
2018-05-17 13:42 GMT-07:00 Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>:
> >>>>> "Charles" == Charles Cui <charles(dot)cui1984(at)gmail(dot)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)
>
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Gierth | 2018-05-20 03:25:33 | Re: Fix for FETCH FIRST syntax problems |
Previous Message | Andrew Gierth | 2018-05-20 00:39:27 | Re: Fix for FETCH FIRST syntax problems |