Re: Simple question on SELECT

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Simple question on SELECT
Date: 2011-11-07 22:54:27
Message-ID: 4EB861A3.7060908@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 11/07/11 2:41 PM, Edson Richter wrote:
> Does simple SELECT query like
>
> select * from tableX
>
> (without FOR UPDATE) opens an implicit transaction when issued?

opens and closes. if you don't bracket with BEGIN; ....
COMMIT|ROLLBACK; then each statement is a transaction of and by itself

--
john r pierce N 37, W 122
santa cruz ca mid-left coast

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Broersma 2011-11-07 23:06:52 Re: Custom Constraint Violation Errors
Previous Message Michael Musenbrock 2011-11-07 22:47:27 Re: Custom Constraint Violation Errors