Re: new postgresql.conf - Mailing list pgsql-hackers

From Tom Lane
Subject Re: new postgresql.conf
Date
Msg-id 27142.1059370657@sss.pgh.pa.us
Whole thread Raw
In response to new postgresql.conf  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
List pgsql-hackers
"Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
> Just saw these:
> #default_transaction_isolation = 'read committed'
> #default_transaction_read_only = false
> Does the second option control the new read only transaction mode?

Yes.

> I thought 'read only' was just a new level of transaction isolation (ie. one
> of the 4 sql standard ones), so why does it need its own GUC var?

No, it's orthogonal to isolation.  A read-only transaction could
sensibly want either READ COMMITTED or SERIALIZABLE behavior, depending
on whether it wants to see the effects of commits while it's in progress.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Make clean fails
Next
From: Tom Lane
Date:
Subject: Re: Regression test failure date.