Remove db-use-legacy-gucs

This commit is contained in:
Laurence Isla
2023-11-29 15:37:25 -05:00
committed by GitHub
parent e620ae5e9c
commit 84152b483a
4 changed files with 1 additions and 27 deletions
-7
View File
@@ -175,13 +175,6 @@ PostgREST stores the headers, cookies and headers as JSON. To get them:
SELECT nullif(current_setting($1, true), '');
$$;
.. _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 <https://postgrest.org/en/v8.0/api.html#accessing-request-headers-cookies-and-jwt-claims>`_. 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