pgsql: Turn transaction_isolation into GUC enum

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Turn transaction_isolation into GUC enum
Дата
Msg-id E1g9xkZ-0005aU-T0@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Make src/common/exec.c's error logging less ugly.
Следующее
От: pgsql@postgresql.org
Дата:
Сообщение: pgsql: Tag refs/tags/REL_11_RC1 was created