Re: \prompt for psql - Mailing list pgsql-patches

From Alvaro Herrera
Subject Re: \prompt for psql
Date
Msg-id 20070209151401.GE4253@alvh.no-ip.org
Whole thread Raw
In response to Re: \prompt for psql  ("Gurjeet Singh" <singh.gurjeet@gmail.com>)
Responses Re: \prompt for psql  ("Merlin Moncure" <mmoncure@gmail.com>)
List pgsql-patches
Gurjeet Singh wrote:
> On 2/9/07, Alvaro Herrera <alvherre@commandprompt.com> wrote:
> >
> >At least it'd help those poor people trying to do conditional COMMIT or
> >ROLLBACK based on the transaction status.
>
>
> The user doesn't need to check the status of the transaction if he just
> needs to end it. Just fire the END command and it'll take care of whether to
> COMMIT or ROLLBACK the transaction:

Hmm, right.  Maybe I was thinking in savepoints, which Merlin Moncure is
so fond of complaining of ;-)

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

pgsql-patches by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [HACKERS] plpgsql, return can contains any expression
Next
From: "Merlin Moncure"
Date:
Subject: Re: \prompt for psql