pgsql: Code cleanup for assign_XactIsoLevel.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Code cleanup for assign_XactIsoLevel.
Date: 2011-01-22 02:51:32
Message-ID: E1PgTZc-0007vB-6v@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Code cleanup for assign_XactIsoLevel.

The new coding avoids a spurious debug message when a transaction
that has changed the isolation level has been rolled back. It also
allows the property to be freely changed to the current value within
a subtransaction.

Kevin Grittner, with one small change by me.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=fb4c5d2798730f60b102d775f22fb53c26a6445d

Modified Files
--------------
src/backend/commands/variable.c | 30 +++++++++++++++---------------
src/backend/utils/misc/guc.c | 2 +-
src/include/utils/guc.h | 1 +
3 files changed, 17 insertions(+), 16 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2011-01-22 03:23:15 pgsql: Avoid treating WAL senders as normal backends.
Previous Message Tom Lane 2011-01-22 00:45:02 pgsql: More pg_test_fsync cleanup.