Re: AW: BLERe: AW: AW: relation ### modified while in use

From: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
To: Zeugswetter Andreas SB <ZeugswetterA(at)wien(dot)spardat(dot)at>
Cc: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: AW: BLERe: AW: AW: relation ### modified while in use
Date: 2000-10-24 09:31:07
Message-ID: 39F556DB.1C01EA12@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Zeugswetter Andreas SB wrote:

> > > > Are there many applications which have many SELECT statements(without
> > > > FOR UPDATE) in one tx ?
> > >
> > > Why not ?
> > >
> > It seems to me that multiple SELECT statements in a tx has little
> > meaning unless the tx is executed in SERIALIZABLE isolation level.
>
> E.g. a table is accessed multiple times to select different data
> in an inner application loop. No need for serializable here.
>

And seems no need to execute in one tx.
Hmm,we seems to be able to call a cleanup procedure
internally which is equivalent to 'commit' after each
consecutive read-only statement. Is it a problem ?

Regards.
Hiroshi Inoue

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pete Forman 2000-10-24 09:40:34 Re: Re: Add support for <xti.h>
Previous Message Zeugswetter Andreas SB 2000-10-24 09:18:26 AW: BLERe: AW: AW: relation ### modified while in use