Re: rollback vs. commit for closing read-only transaction - Mailing list pgsql-general

From Bruce Momjian
Subject Re: rollback vs. commit for closing read-only transaction
Date
Msg-id 200504252200.j3PM0xS28768@candle.pha.pa.us
Whole thread Raw
In response to rollback vs. commit for closing read-only transaction  ("David Parker" <dparker@tazznetworks.com>)
List 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@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-general by date:

Previous
From: "David Parker"
Date:
Subject: rollback vs. commit for closing read-only transaction
Next
From: "Dann Corbit"
Date:
Subject: Re: rollback vs. commit for closing read-only transaction