pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Turn transaction_isolation into GUC enum
Date: Tue, 09 Oct 2018 19:32:59 +0000
Message-ID: <E1g9xkZ-0005aU-T0@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1g9xkZ-0005aU-T0@gemulon.postgresql.org>
Permalink:  ../E1g9xkZ-0005aU-T0@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1g9xkZ-0005aU-T0@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter_e@gmx.net
  Subject: Re: pgsql: Turn transaction_isolation into GUC enum
  In-Reply-To: <E1g9xkZ-0005aU-T0@gemulon.postgresql.org>
  References: <E1g9xkZ-0005aU-T0@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox