Re: read commited

Started by Tom Laneover 22 years ago2 messagesdocs
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

=?ISO-8859-1?Q?Dennis_Bj=F6rklund?= <db@zigo.dhs.org> writes:

The first part in the doc about concurrency with Read Commited
transactions (12.2.1 in devel doc) it says:
| Read Committed is the default isolation level in PostgreSQL.
| When a transaction runs on this isolation level, a SELECT query
| sees only data committed before the query began; it never sees
| either uncommitted data or changes committed during query
| execution by concurrent transactions.

And that describes serializable transactions.

No, it doesn't. The critical phrase here is "data committed before the
*query* began" ... not "data committed before the *transaction* began".

regards, tom lane

#2Dennis Bjorklund
db@zigo.dhs.org
In reply to: Tom Lane (#1)

On Mon, 25 Aug 2003, Tom Lane wrote:

No, it doesn't. The critical phrase here is "data committed before the
*query* began" ... not "data committed before the *transaction* began".

Aah, of course, it says query. Thanks (again).

--
/Dennis