diff --git a/docs/references/api.rst b/docs/references/api.rst index 7d817159f..43e2e83c7 100644 --- a/docs/references/api.rst +++ b/docs/references/api.rst @@ -101,7 +101,7 @@ PostgREST exposes three database objects of a schema as resources: tables, views '#immutable-and-stable-functions': 'transactions.html#access-mode', '#http-context': 'transactions.html#transaction-scoped-settings', '#accessing-request-headers-cookies-and-jwt-claims': 'transactions.html#request-headers-cookies-and-jwt-claims', - '#legacy-guc-variable-names': 'transactions.html#legacy-settings', + '#legacy-guc-variable-names': 'transactions.html#transaction-scoped-settings', '#accessing-request-path-and-method': 'transactions.html#request-path-and-method', '#setting-response-headers': 'transactions.html#response-headers', '#setting-headers-via-pre-request': 'transactions.html#setting-headers-via-pre-request', diff --git a/docs/references/configuration.rst b/docs/references/configuration.rst index 5a02bf624..352b454fe 100644 --- a/docs/references/configuration.rst +++ b/docs/references/configuration.rst @@ -532,24 +532,6 @@ External config file Choosing a value for this parameter beginning with the at sign such as ``@filename`` (e.g. ``@./configs/my-config``) loads the connection string out of an external file. - -.. _db-use-legacy-gucs: - -db-use-legacy-gucs ------------------- - - =============== ================================= - **Type** Boolean - **Default** True - **Reloadable** Y - **Environment** PGRST_DB_USE_LEGACY_GUCS - **In-Database** pgrst.db_use_legacy_gucs - =============== ================================= - - Determine if GUC request settings for headers, cookies and jwt claims use the `legacy names `_ (string with dashes, invalid starting from PostgreSQL v14) with text values instead of the :ref:`new names ` (string without dashes, valid on all PostgreSQL versions) with json values. - - On PostgreSQL versions 14 and above, this parameter is ignored. - .. _jwt-aud: jwt-aud diff --git a/docs/references/transactions.rst b/docs/references/transactions.rst index c194bca55..b0346b3af 100644 --- a/docs/references/transactions.rst +++ b/docs/references/transactions.rst @@ -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 `_. 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 diff --git a/postgrest.dict b/postgrest.dict index 4157efafc..e474ac329 100644 --- a/postgrest.dict +++ b/postgrest.dict @@ -44,7 +44,6 @@ GraphQL Greenplum gte GUC -gucs Haskell Heroku HMAC