mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
Code cleanup for assign_transaction_read_only.
As in commit fb4c5d2798
on 2011-01-21,
this avoids spurious debug messages and allows idempotent changes at
any time. Along the way, make assign_XactIsoLevel allow idempotent
changes even when not within a subtransaction, to be consistent with
the new coding of assign_transaction_read_only and because there's
no compelling reason to do otherwise.
Kevin Grittner, with some adjustments.
This commit is contained in:
@ -21,6 +21,8 @@ extern const char *show_timezone(void);
|
||||
extern const char *assign_log_timezone(const char *value,
|
||||
bool doit, GucSource source);
|
||||
extern const char *show_log_timezone(void);
|
||||
extern bool assign_transaction_read_only(bool value,
|
||||
bool doit, GucSource source);
|
||||
extern const char *assign_XactIsoLevel(const char *value,
|
||||
bool doit, GucSource source);
|
||||
extern const char *show_XactIsoLevel(void);
|
||||
|
Reference in New Issue
Block a user