1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

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.
This commit is contained in:
Robert Haas
2011-01-21 21:49:19 -05:00
parent cb38ab6d3b
commit fb4c5d2798
3 changed files with 17 additions and 16 deletions

View File

@ -425,7 +425,6 @@ static int server_version_num;
static char *timezone_string;
static char *log_timezone_string;
static char *timezone_abbreviations_string;
static char *XactIsoLevel_string;
static char *custom_variable_classes;
static int max_function_args;
static int max_index_keys;
@ -440,6 +439,7 @@ static int effective_io_concurrency;
/* should be static, but commands/variable.c needs to get at these */
char *role_string;
char *session_authorization_string;
char *XactIsoLevel_string;
/*