From cccf8b750d262fac908e124c194968a69afdfed8 Mon Sep 17 00:00:00 2001 From: steve-chavez Date: Thu, 1 Aug 2024 19:17:56 -0500 Subject: [PATCH] docs: rename to hoisted function settings --- docs/references/transactions.rst | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/references/transactions.rst b/docs/references/transactions.rst index 6bef2b74b..79175ef77 100644 --- a/docs/references/transactions.rst +++ b/docs/references/transactions.rst @@ -284,11 +284,10 @@ However, starting from PostgreSQL 15, you can grant privileges for these setting GRANT SET ON PARAMETER TO ; -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 @@ -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: