pgsql: Turn transaction_isolation into GUC enum - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Turn transaction_isolation into GUC enum
Date
Msg-id E1g9xkZ-0005aU-T0@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Turn transaction_isolation into GUC enum

It was previously a string setting that was converted into an enum by
custom code, but using the GUC enum facility seems much simpler and
doesn't change any functionality, except that

    set transaction_isolation='default';

no longer works, but that was never documented and doesn't work with
any other transaction characteristics.  (Note that this is not the
same as RESET or SET TO DEFAULT, which still work.)

Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi>
Discussion: https://www.postgresql.org/message-id/457db615-e84c-4838-310e-43841eb806e5@iki.fi

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f8c10f616fa5081999ac48a0b6621057db806851

Modified Files
--------------
src/backend/commands/variable.c | 57 ++---------------------------------------
src/backend/utils/misc/guc.c    | 25 +++++++++---------
src/include/commands/variable.h |  4 +--
3 files changed, 15 insertions(+), 71 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Make src/common/exec.c's error logging less ugly.
Next
From: pgsql@postgresql.org
Date:
Subject: pgsql: Tag refs/tags/REL_11_RC1 was created