Re: \prompt for psql

From: "Merlin Moncure" <mmoncure(at)gmail(dot)com>
To: alvherre(at)commandprompt(dot)com, "Gurjeet Singh" <singh(dot)gurjeet(at)gmail(dot)com>, "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, "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 15:27:35
Message-ID: b42b73150702090727x7a53ab7cua3b0af9a63099825@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

On 2/9/07, Alvaro Herrera <alvherre(at)commandprompt(dot)com> wrote:
> Gurjeet Singh wrote:
> > On 2/9/07, Alvaro Herrera <alvherre(at)commandprompt(dot)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 ;-)

I'm still looking for a use for them. When I find one, I'll give you a
heads up.

(just so you know, with savepoints came exception blocks, one of my
all time favorite features). anyways, instead of complaining,
consider it more of 'hopeful nudging' :-)

merlin

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Gregory Stark 2007-02-09 16:39:03 Re: Hierarchical Queries--Status
Previous Message Alvaro Herrera 2007-02-09 15:14:01 Re: \prompt for psql