From ce82b0c79b831c01d8396c3374e1871234b9b2f7 Mon Sep 17 00:00:00 2001 From: Laurence Isla Date: Fri, 12 May 2023 21:27:12 -0500 Subject: [PATCH] Re-add missing legacy gucs information --- docs/references/transactions.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/references/transactions.rst b/docs/references/transactions.rst index 6409ce82c..4c8e63ea4 100644 --- a/docs/references/transactions.rst +++ b/docs/references/transactions.rst @@ -131,6 +131,13 @@ PostgREST stores the headers, cookies and headers as JSON. To get them: The ``role`` in ``request.jwt.claims`` defaults to the value of :ref:`db-anon-role`. +.. _guc_legacy_names: + +Legacy settings +^^^^^^^^^^^^^^^ + +For PostgreSQL versions below 14, PostgREST will take into consideration the :ref:`db-use-legacy-gucs` config, which is set to true by default. This means that the interface for accessing these GUCs is `the same as in older versions `_. You can opt in to use the JSON GUCs mentioned above by setting the ``db-use-legacy-gucs`` to false. + .. _guc_req_path_method: Request Path and Method