Re: \prompt for psql

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Magnus Hagander <magnus(at)hagander(dot)net>, pgsql-patches(at)postgresql(dot)org, Chad Wagner <chad(dot)wagner(at)gmail(dot)com>
Subject: Re: \prompt for psql
Date: 2007-02-09 05:45:35
Message-ID: 45CC0A7F.4010605@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Joshua D. Drake wrote:
> Alvaro Herrera wrote:
>> Joshua D. Drake wrote:
>>> Peter Eisentraut wrote:
>>>> Magnus Hagander wrote:
>>>>> That also requires a "reasonable shell", which all platforms don't
>>>>> have...
>>>> I think doing any sort of reasonable scripting around psql requires a
>>>> reasonable shell. Or next someone will suggest implementing loops and
>>>> conditionals in psql.
>>> ... Now that you mention it :)
>>>
>>> psql is a shell. It is the postgresql shell. I don't see any problem
>>> with continuing to extend the postgresql shell to a more functional
>>> platform that is independent.
>> At least it'd help those poor people trying to do conditional COMMIT or
>> ROLLBACK based on the transaction status. Maybe it's not such a bad
>> idea.
>>
>> On the other hand, seeing how the history line numbers patch is still
>> nowhere to be seen, I don't think we should be expecting you to send a
>> patch ... ;-)
>
> No one would except it from me, I would just embed python ;)
>

or perhaps accept

> Sincerely,
>
> Joshua D. Drake
>
>
>

--

=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Gurjeet Singh 2007-02-09 07:07:12 Re: \prompt for psql
Previous Message Pavel Stehule 2007-02-09 05:22:03 Re: better support of out parameters in plperl