Re: AW: BLERe: AW: AW: relation ### modified while in use - Mailing list pgsql-hackers

From Hiroshi Inoue
Subject Re: AW: BLERe: AW: AW: relation ### modified while in use
Date
Msg-id 39F556DB.1C01EA12@tpf.co.jp
Whole thread Raw
In response to AW: BLERe: AW: AW: relation ### modified while in use  (Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>)
Responses Re: AW: BLERe: AW: AW: relation ### modified while in use  (Philip Warner <pjw@rhyme.com.au>)
List 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



pgsql-hackers by date:

Previous
From: Zeugswetter Andreas SB
Date:
Subject: AW: BLERe: AW: AW: relation ### modified while in use
Next
From: Pete Forman
Date:
Subject: Re: Re: Add support for