Skip to content

Commit

Permalink
docs: rename to hoisted function settings
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-chavez committed Aug 2, 2024
1 parent 7af8f81 commit cccf8b7
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions docs/references/transactions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -284,11 +284,10 @@ However, starting from PostgreSQL 15, you can grant privileges for these setting
GRANT SET ON PARAMETER <setting> TO <authenticator>;
Function Settings
~~~~~~~~~~~~~~~~~
Hoisted Function Settings
~~~~~~~~~~~~~~~~~~~~~~~~~

In addition to :ref:`impersonated_settings`, PostgREST will also apply function settings as transaction-scoped settings. This allows functions settings to override
the impersonated and connection role settings.
PostgREST can "hoist" function settings to transaction-scoped settings. This allows functions settings to override the impersonated and connection role settings.

.. code-block:: postgres
Expand All @@ -303,7 +302,7 @@ When calling the above function (see :ref:`functions`), the statement timeout wi

.. note::

Only the transactions that are hoisted by config :ref:`db-hoisted-tx-settings` will be applied.
Only the settings in :ref:`db-hoisted-tx-settings` will be hoisted.

.. _main_query:

Expand Down

0 comments on commit cccf8b7

Please sign in to comment.