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

From Pavel Stehule
Subject Re: Enhanced psql in core?
Date
Msg-id CAFj8pRDdxseEc8-z8h3C-LPrv8yg1UW--Ai=wGR_Nb6jNvSDpg@mail.gmail.com
Whole thread Raw
In response to Re: Enhanced psql in core?  (Jaime Casanova <[email protected]>)
Responses Re: Enhanced psql in core?
List pgsql-hackers
2011/7/10 Jaime Casanova <[email protected]>:
> On Sat, Jul 9, 2011 at 5:29 AM, hubert depesz lubaczewski
> <[email protected]> wrote:
>> hi,
>> would it be possible to incorporate
>> http://www.postgres.cz/index.php/Enhanced-psql in core PostgreSQL/psql?
>>
>> This patch adds lots of nice functionalities, which we could definitely
>> use.
>>
>
> 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?
> i'm not really sure if we can do what the same as your example using
> DO but i'm really dubious about the usefullness of that example.
>

DO has same limits like functions - you cannot to switch database, you
cannot to store data to psql's session variables, you cannot do
"include file"

Regards

Pavel



> --
> Jaime Casanova         www.2ndQuadrant.com
> Professional PostgreSQL: Soporte 24x7 y capacitación
>
> --
> Sent via pgsql-hackers mailing list ([email protected])
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
>


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Extra check in 9.0 exclusion constraint unintended consequences
Next
From: Pavel Stehule
Date:
Subject: Re: Enhanced psql in core?