OSDN Git Service

Code cleanup for assign_XactIsoLevel.
authorRobert Haas <rhaas@postgresql.org>
Sat, 22 Jan 2011 02:49:19 +0000 (21:49 -0500)
committerRobert Haas <rhaas@postgresql.org>
Sat, 22 Jan 2011 02:49:19 +0000 (21:49 -0500)
commitfb4c5d2798730f60b102d775f22fb53c26a6445d
treee56a80a66e9daea3b07dba95d81d6bc1f4df647d
parentcb38ab6d3b89eccb75b3337f8723cfc283fb77fb
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.
src/backend/commands/variable.c
src/backend/utils/misc/guc.c
src/include/utils/guc.h