Pavel Stehule <pavel.stehule@gmail.com> writes:
>> 2011/7/10 Jaime Casanova <jaime@2ndquadrant.com>:
>>> big part of this seems to be (based on the examples on the page,
>>> haven't read the patch) scripting functionality but now that we have
>>> DO, is really a need for that?
> note - a output from DO statement is limited to RAISE statement - you
> can't send back a SELECT's result
You can't *today*. But it's a very good question whether it wouldn't
make more sense to solve these problems by extending DO rather than
adding things into psql. Functionality in DO will be available to
non-psql clients.
regards, tom lane