Re: A bad behavior under autocommit off mode

From: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: A bad behavior under autocommit off mode
Date: 2003-03-20 03:38:21
Message-ID: 3E7937AD.AE515E70@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian wrote:
>
> Hiroshi Inoue wrote:
> > > > > This patch removes that "stuff all queries into a single transaction"
> > > > > behavior and makes them function just like queries arriving separately.
> > > > > This does BREAK BACKWARD COMPATIBILITY. However, if they want the old
> > > > > behavior, they just need to wrap BEGIN/COMMIT around the query string.
> > > >
> > > > Does the change worth the trouble ?
> > > > Please don't break BACKWARD COMPATIBILITY easily.
> > >
> > > It clearly fixes an existing bug,
> >
> > My proposal also fixes the bug though Tom objected to it.
>
> Yes, there are other ways to fix this --- but this is the cleanest,

I don't think so. Anyway my proposal doesn't break backward
compatibility at least.

regards,
Hiroshi Inoue
http://www.geocities.jp/inocchichichi/psqlodbc/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Shridhar Daithankar 2003-03-20 03:42:12 Re: PostgreSQL flamage on Slashdot
Previous Message Tom Lane 2003-03-20 03:38:13 Re: cursors outside transactions