Re: Enhanced psql in core?

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Jaime Casanova <jaime(at)2ndquadrant(dot)com>
Cc: depesz(at)depesz(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Enhanced psql in core?
Date: 2011-07-10 07:14:50
Message-ID: CAFj8pRDdxseEc8-z8h3C-LPrv8yg1UW--Ai=wGR_Nb6jNvSDpg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2011/7/10 Jaime Casanova <jaime(at)2ndquadrant(dot)com>:
> On Sat, Jul 9, 2011 at 5:29 AM, hubert depesz lubaczewski
> <depesz(at)depesz(dot)com> 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 (pgsql-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2011-07-10 07:23:50 Re: Enhanced psql in core?
Previous Message David E. Wheeler 2011-07-10 06:01:57 Re: patch: enhanced get diagnostics statement 2