Re: Enhanced psql in core? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Enhanced psql in core?
Date
Msg-id 2946.1310316675@sss.pgh.pa.us
Whole thread Raw
In response to Re: Enhanced psql in core?  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: Enhanced psql in core?
Re: Enhanced psql in core?
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Steve Singer
Date:
Subject: Re: Online base backup from the hot-standby
Next
From: Tom Lane
Date:
Subject: Re: Expression Pruning in postgress