Re: rollback vs. commit for closing read-only transaction

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: David Parker <dparker(at)tazznetworks(dot)com>
Cc: postgres general <pgsql-general(at)postgresql(dot)org>
Subject: Re: rollback vs. commit for closing read-only transaction
Date: 2005-04-25 22:00:59
Message-ID: 200504252200.j3PM0xS28768@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

David Parker wrote:
> If an application transaction is known to be read-only, is there any
> reason to prefer COMMIT or ROLLBACK for closing that transaction? Would
> there be any performance difference between the two commands?

Doesn't matter.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dann Corbit 2005-04-25 22:04:35 Re: rollback vs. commit for closing read-only transaction
Previous Message David Parker 2005-04-25 21:43:40 rollback vs. commit for closing read-only transaction