chore(deps): update nixpkgs to 25.05
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ Templates
|
|||||||
Example Apps
|
Example Apps
|
||||||
------------
|
------------
|
||||||
|
|
||||||
* `archtika <https://github.com/thiloho/archtika>`_ - self‑hosted CMS
|
* `archtika <https://github.com/thiloho/archtika>`_ - self-hosted CMS
|
||||||
* `delibrium-postgrest <https://gitlab.com/delibrium/delibrium-postgrest/>`_ - example school API and front-end in Vue.js
|
* `delibrium-postgrest <https://gitlab.com/delibrium/delibrium-postgrest/>`_ - example school API and front-end in Vue.js
|
||||||
* `ETH-transactions-storage <https://github.com/Adamant-im/ETH-transactions-storage>`_ - indexer for Ethereum to get transaction list by ETH address
|
* `ETH-transactions-storage <https://github.com/Adamant-im/ETH-transactions-storage>`_ - indexer for Ethereum to get transaction list by ETH address
|
||||||
* `general <https://github.com/PierreRochard/general>`_ - example auth back-end
|
* `general <https://github.com/PierreRochard/general>`_ - example auth back-end
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
SQL User Management
|
SQL User Management
|
||||||
===================
|
===================
|
||||||
|
|
||||||
As mentioned on :ref:`jwt_generation`, an external service can provide user management and coordinate with the PostgREST server using JWT. It’s also possible to support logins entirely through SQL. It’s a fair bit of work, so get ready.
|
As mentioned on :ref:`jwt_generation`, an external service can provide user management and coordinate with the PostgREST server using JWT. It's also possible to support logins entirely through SQL. It's a fair bit of work, so get ready.
|
||||||
|
|
||||||
Storing Users and Passwords
|
Storing Users and Passwords
|
||||||
---------------------------
|
---------------------------
|
||||||
|
|||||||
@@ -173,4 +173,4 @@ Domain Representations avoid all the above drawbacks. Their only drawback is tha
|
|||||||
|
|
||||||
Why not create a `base type <https://www.postgresql.org/docs/current/sql-createtype.html#id-1.9.3.94.5.8>`_ instead? ``CREATE TYPE app_uuid (INTERNALLENGTH = 22, INPUT = app_uuid_parser, OUTPUT = app_uuid_formatter)``.
|
Why not create a `base type <https://www.postgresql.org/docs/current/sql-createtype.html#id-1.9.3.94.5.8>`_ instead? ``CREATE TYPE app_uuid (INTERNALLENGTH = 22, INPUT = app_uuid_parser, OUTPUT = app_uuid_formatter)``.
|
||||||
|
|
||||||
Creating base types need superuser, which is restricted on cloud hosted databases. Additionally this way lets “how the data is presented” dictate “how the data is stored” which would be backwards.
|
Creating base types need superuser, which is restricted on cloud hosted databases. Additionally this way lets "how the data is presented" dictate "how the data is stored" which would be backwards.
|
||||||
|
|||||||
@@ -143,7 +143,7 @@ Since the table name is plural, we can be more accurate by making it singular wi
|
|||||||
One-to-many relationships
|
One-to-many relationships
|
||||||
-------------------------
|
-------------------------
|
||||||
|
|
||||||
The **foreign key reference** establishes the inverse one-to-many relationship. In this case, ``films`` returns as a JSON array because of the “to-many” end.
|
The **foreign key reference** establishes the inverse one-to-many relationship. In this case, ``films`` returns as a JSON array because of the "to-many" end.
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
@@ -1206,7 +1206,7 @@ Spread on resources forming :ref:`one-to-many <one-to-many>` and :ref:`many-to-m
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
Note that ``films`` is no longer an array of objects, unlike regularly embedding :ref:`one-to-many`. The embedded columns become arrays and they're correlated—in the above result, we can say that "Pulp Fiction" premiered in 1994 and "Reservoir Dogs" in 1992.
|
Note that ``films`` is no longer an array of objects, unlike regularly embedding :ref:`one-to-many`. The embedded columns become arrays and they're correlated-in the above result, we can say that "Pulp Fiction" premiered in 1994 and "Reservoir Dogs" in 1992.
|
||||||
|
|
||||||
Order in spread to-many
|
Order in spread to-many
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
@@ -1302,7 +1302,7 @@ You can use multiple spreads at any level. For example, let's spread ``technical
|
|||||||
|
|
||||||
Note that:
|
Note that:
|
||||||
|
|
||||||
- All the ``film_*`` arrays are correlated—"Reservoir Dogs" premiered in 1992, its runtime is 1:39:00 and it has the following characters: ``[ "Mr. Pink", "Mr. White" ]``.
|
- All the ``film_*`` arrays are correlated-"Reservoir Dogs" premiered in 1992, its runtime is 1:39:00 and it has the following characters: ``[ "Mr. Pink", "Mr. White" ]``.
|
||||||
- The ``film_*`` arrays are ordered by ``year`` (due to ``films.order=year``).
|
- The ``film_*`` arrays are ordered by ``year`` (due to ``films.order=year``).
|
||||||
- The bottom level array ``film_characters`` is ordered (due to ``films.roles.order=character``).
|
- The bottom level array ``film_characters`` is ordered (due to ``films.roles.order=character``).
|
||||||
|
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ Symmetric Keys
|
|||||||
~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~
|
||||||
|
|
||||||
Each token is cryptographically signed with a secret key. In the case of symmetric cryptography the signer and verifier share the same secret passphrase, which can be configured with :ref:`jwt-secret`.
|
Each token is cryptographically signed with a secret key. In the case of symmetric cryptography the signer and verifier share the same secret passphrase, which can be configured with :ref:`jwt-secret`.
|
||||||
If it is set to a simple string value like “reallyreallyreallyreallyverysafe” then PostgREST interprets it as an HMAC-SHA256 passphrase.
|
If it is set to a simple string value like "reallyreallyreallyreallyverysafe" then PostgREST interprets it as an HMAC-SHA256 passphrase.
|
||||||
|
|
||||||
.. _asym_keys:
|
.. _asym_keys:
|
||||||
|
|
||||||
|
|||||||
@@ -409,7 +409,7 @@ db-pool-max-idletime
|
|||||||
**In-Database** `n/a`
|
**In-Database** `n/a`
|
||||||
=============== =================================
|
=============== =================================
|
||||||
|
|
||||||
*For backwards compatibility, this config parameter is also available as “db-pool-timeout”.*
|
*For backwards compatibility, this config parameter is also available as "db-pool-timeout".*
|
||||||
|
|
||||||
Time in seconds to close idle pool connections.
|
Time in seconds to close idle pool connections.
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ Dynamic Connection Pool
|
|||||||
|
|
||||||
To conserve system resources, PostgREST uses a dynamic connection pool. This enables the number of connections in the pool to increase and decrease depending on request traffic.
|
To conserve system resources, PostgREST uses a dynamic connection pool. This enables the number of connections in the pool to increase and decrease depending on request traffic.
|
||||||
|
|
||||||
- If all the connections are being used, a new connection is added. The pool can grow until it reaches the :ref:`db-pool` size. Note that it’s pointless to set this higher than the ``max_connections`` setting in your database.
|
- If all the connections are being used, a new connection is added. The pool can grow until it reaches the :ref:`db-pool` size. Note that it's pointless to set this higher than the ``max_connections`` setting in your database.
|
||||||
- If a connection is unused for a period of time (:ref:`db-pool-max-idletime`), it will be released.
|
- If a connection is unused for a period of time (:ref:`db-pool-max-idletime`), it will be released.
|
||||||
- For connecting to the database, the :ref:`authenticator <roles>` role is used. You can configure this using :ref:`db-uri`.
|
- For connecting to the database, the :ref:`authenticator <roles>` role is used. You can configure this using :ref:`db-uri`.
|
||||||
|
|
||||||
@@ -106,4 +106,4 @@ Also set :ref:`db-channel-enabled` to ``false`` since ``LISTEN`` is not compatib
|
|||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
It’s not recommended to use an external connection pooler. `Our benchmarks <https://github.com/PostgREST/postgrest/issues/2294#issuecomment-1139148672>`_ indicate it provides much lower performance than PostgREST built-in pool.
|
It's not recommended to use an external connection pooler. `Our benchmarks <https://github.com/PostgREST/postgrest/issues/2294#issuecomment-1139148672>`_ indicate it provides much lower performance than PostgREST built-in pool.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Listener
|
|||||||
########
|
########
|
||||||
|
|
||||||
PostgREST uses `LISTEN <https://www.postgresql.org/docs/current/sql-listen.html>`_ to reload its :ref:`Schema Cache <schema_reloading_notify>` and :ref:`Configuration <config_reloading_notify>` via `NOTIFY <https://www.postgresql.org/docs/current/sql-notify.html>`_.
|
PostgREST uses `LISTEN <https://www.postgresql.org/docs/current/sql-listen.html>`_ to reload its :ref:`Schema Cache <schema_reloading_notify>` and :ref:`Configuration <config_reloading_notify>` via `NOTIFY <https://www.postgresql.org/docs/current/sql-notify.html>`_.
|
||||||
This is useful in environments where you can’t send SIGUSR1 or SIGUSR2 Unix Signals.
|
This is useful in environments where you can't send SIGUSR1 or SIGUSR2 Unix Signals.
|
||||||
Like on cloud managed containers or on Windows systems.
|
Like on cloud managed containers or on Windows systems.
|
||||||
|
|
||||||
.. code:: postgresql
|
.. code:: postgresql
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# This file is auto-generated by postgrest-nixpkgs-upgrade
|
# This file is auto-generated by postgrest-nixpkgs-upgrade
|
||||||
sphinx==7.4.7
|
sphinx==8.2.3
|
||||||
sphinx-copybutton==0.5.2
|
sphinx-copybutton==0.5.2
|
||||||
sphinx-rtd-dark-mode==1.3.0
|
sphinx-rtd-dark-mode==1.3.0
|
||||||
sphinx-rtd-theme==3.0.2
|
sphinx-rtd-theme==3.0.2
|
||||||
sphinx-tabs==3.4.7
|
sphinx-tabs==3.4.7
|
||||||
sphinxext-opengraph==0.9.1
|
sphinxext-opengraph==0.9.1
|
||||||
Generated
+4
-4
@@ -2,16 +2,16 @@
|
|||||||
"nodes": {
|
"nodes": {
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731165248,
|
"lastModified": 1752006229,
|
||||||
"narHash": "sha256-DiHFKIdBmMx5/DUARhVqaxvEIiy4EE6Eqs9Qs4oxme8=",
|
"narHash": "sha256-BeuAPwNM2RBc5bvUTb0j4GRs2yBkDeRCw/8Y3v9Xesc=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "a90280100f41a10914edfe729a4053e60c92b8e3",
|
"rev": "c80edd02003fe3d8af527215a3ac069be9cfd47f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"ref": "nixpkgs-unstable",
|
"ref": "nixpkgs-25.05-darwin",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
description = "REST API for any Postgres database";
|
description = "REST API for any Postgres database";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-25.05-darwin";
|
||||||
};
|
};
|
||||||
|
|
||||||
nixConfig = {
|
nixConfig = {
|
||||||
|
|||||||
@@ -50,34 +50,14 @@ let
|
|||||||
# jailbreak, because hspec limit for tests
|
# jailbreak, because hspec limit for tests
|
||||||
fuzzyset = prev.fuzzyset_0_2_4;
|
fuzzyset = prev.fuzzyset_0_2_4;
|
||||||
|
|
||||||
hasql-pool = lib.dontCheck (prev.callHackageDirect
|
# Downgrade hasql and related packages while we are still on GHC 9.4 for the static build.
|
||||||
{
|
hasql = lib.dontCheck (lib.doJailbreak prev.hasql_1_6_4_4);
|
||||||
pkg = "hasql-pool";
|
hasql-dynamic-statements = lib.dontCheck prev.hasql-dynamic-statements_0_3_1_5;
|
||||||
ver = "1.0.1";
|
hasql-implicits = lib.dontCheck prev.hasql-implicits_0_1_1_3;
|
||||||
sha256 = "sha256-Hf1f7lX0LWkjrb25SDBovCYPRdmUP1H6pAxzi7kT4Gg=";
|
hasql-notifications = lib.dontCheck prev.hasql-notifications_0_2_2_2;
|
||||||
}
|
hasql-pool = lib.dontCheck prev.hasql-pool_1_0_1;
|
||||||
{ });
|
hasql-transaction = lib.dontCheck prev.hasql-transaction_1_1_0_1;
|
||||||
|
postgresql-binary = lib.dontCheck (lib.doJailbreak prev.postgresql-binary_0_13_1_3);
|
||||||
hasql-notifications = lib.dontCheck (prev.callHackageDirect
|
|
||||||
{
|
|
||||||
pkg = "hasql-notifications";
|
|
||||||
ver = "0.2.2.2";
|
|
||||||
sha256 = "sha256-myKwlug7OgTa/qP6mHfCD+5Q8IhM17JvpJBfSo+M01k=";
|
|
||||||
}
|
|
||||||
{ });
|
|
||||||
|
|
||||||
# newer nixpkgs already has 0.10., so we fallback to default for forward compat
|
|
||||||
jose-jwt = prev.jose-jwt_0_10_0 or prev.jose-jwt;
|
|
||||||
|
|
||||||
postgresql-libpq = lib.dontCheck (prev.callHackageDirect
|
|
||||||
{
|
|
||||||
pkg = "postgresql-libpq";
|
|
||||||
ver = "0.10.1.0";
|
|
||||||
sha256 = "sha256-tXOMqCO8opMilI9rx0D+njqjIjbZsH168Bzb8Aq8Ff4=";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
postgresql = super.libpq;
|
|
||||||
});
|
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|||||||
+17
-21
@@ -2,7 +2,6 @@
|
|||||||
, aspellDicts
|
, aspellDicts
|
||||||
, buildToolbox
|
, buildToolbox
|
||||||
, checkedShellScript
|
, checkedShellScript
|
||||||
, fetchPypi
|
|
||||||
, lib
|
, lib
|
||||||
, plantuml
|
, plantuml
|
||||||
, python3
|
, python3
|
||||||
@@ -11,26 +10,14 @@
|
|||||||
, writers
|
, writers
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
selectPythonPackages = ps:
|
selectPythonPackages = ps: [
|
||||||
let
|
ps.sphinx
|
||||||
# TODO: Remove with next nixpkgs update
|
ps.sphinx-copybutton
|
||||||
sphinx-rtd-theme = assert ps.sphinx-rtd-theme.version == "2.0.0"; ps.sphinx-rtd-theme.overrideAttrs rec {
|
ps.sphinx-rtd-dark-mode
|
||||||
version = "3.0.2";
|
ps.sphinx-rtd-theme
|
||||||
src = fetchPypi {
|
ps.sphinx-tabs
|
||||||
pname = "sphinx_rtd_theme";
|
ps.sphinxext-opengraph
|
||||||
inherit version;
|
];
|
||||||
hash = "sha256-t0V7wl3acjsgsIamcLmVPIWeq2CioD7o6yuyPhduX4U=";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
in
|
|
||||||
[
|
|
||||||
ps.sphinx
|
|
||||||
ps.sphinx-copybutton
|
|
||||||
(ps.sphinx-rtd-dark-mode.override { inherit sphinx-rtd-theme; })
|
|
||||||
sphinx-rtd-theme
|
|
||||||
ps.sphinx-tabs
|
|
||||||
ps.sphinxext-opengraph
|
|
||||||
];
|
|
||||||
|
|
||||||
requirements = writeTextFile {
|
requirements = writeTextFile {
|
||||||
name = "requirements.txt";
|
name = "requirements.txt";
|
||||||
@@ -48,6 +35,9 @@ let
|
|||||||
workingDir = "/docs";
|
workingDir = "/docs";
|
||||||
}
|
}
|
||||||
''
|
''
|
||||||
|
# https://github.com/sphinx-doc/sphinx/issues/11739
|
||||||
|
export LC_ALL=C
|
||||||
|
|
||||||
function build() {
|
function build() {
|
||||||
${python}/bin/sphinx-build --color -W -a -n . -b "$@"
|
${python}/bin/sphinx-build --color -W -a -n . -b "$@"
|
||||||
}
|
}
|
||||||
@@ -132,6 +122,8 @@ let
|
|||||||
workingDir = "/docs";
|
workingDir = "/docs";
|
||||||
}
|
}
|
||||||
''
|
''
|
||||||
|
export LC_ALL=C
|
||||||
|
|
||||||
FILES=$(find . -type f -iname '*.rst' | tr '\n' ' ')
|
FILES=$(find . -type f -iname '*.rst' | tr '\n' ' ')
|
||||||
|
|
||||||
# shellcheck disable=SC2086 disable=SC2016
|
# shellcheck disable=SC2086 disable=SC2016
|
||||||
@@ -152,6 +144,8 @@ let
|
|||||||
workingDir = "/docs";
|
workingDir = "/docs";
|
||||||
}
|
}
|
||||||
''
|
''
|
||||||
|
export LC_ALL=C
|
||||||
|
|
||||||
FILES=$(find . -type f -iname '*.rst' | tr '\n' ' ')
|
FILES=$(find . -type f -iname '*.rst' | tr '\n' ' ')
|
||||||
|
|
||||||
tail -n+2 postgrest.dict \
|
tail -n+2 postgrest.dict \
|
||||||
@@ -170,6 +164,8 @@ let
|
|||||||
workingDir = "/docs";
|
workingDir = "/docs";
|
||||||
}
|
}
|
||||||
''
|
''
|
||||||
|
export LC_ALL=C
|
||||||
|
|
||||||
${python}/bin/sphinx-build --color -b linkcheck . ../.docs-build
|
${python}/bin/sphinx-build --color -b linkcheck . ../.docs-build
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|||||||
@@ -155,7 +155,7 @@ fromHeaders allowTxDbOverride acceptedTzNames headers =
|
|||||||
listStripPrefix prefix prefList = listToMaybe $ mapMaybe (BS.stripPrefix prefix) prefList
|
listStripPrefix prefix prefList = listToMaybe $ mapMaybe (BS.stripPrefix prefix) prefList
|
||||||
|
|
||||||
timezonePref = listStripPrefix "timezone=" prefs
|
timezonePref = listStripPrefix "timezone=" prefs
|
||||||
isTimezonePrefAccepted = (S.member <$> (decodeUtf8 <$> timezonePref) <*> pure acceptedTzNames) == Just True
|
isTimezonePrefAccepted = ((S.member . decodeUtf8 <$> timezonePref) <*> pure acceptedTzNames) == Just True
|
||||||
|
|
||||||
maxAffectedPref = listStripPrefix "max-affected=" prefs >>= readMaybe . BS.unpack
|
maxAffectedPref = listStripPrefix "max-affected=" prefs >>= readMaybe . BS.unpack
|
||||||
|
|
||||||
|
|||||||
@@ -1119,7 +1119,7 @@ negotiateContent conf ApiRequest{iAction=act, iPreferences=Preferences{preferRep
|
|||||||
m@(MTVndPlan (MTVndSingularJSON strip) _ _) -> mtPlanToNothing $ Just (BuiltinAggSingleJson strip, m)
|
m@(MTVndPlan (MTVndSingularJSON strip) _ _) -> mtPlanToNothing $ Just (BuiltinAggSingleJson strip, m)
|
||||||
m@(MTVndPlan MTVndArrayJSONStrip _ _) -> mtPlanToNothing $ Just (BuiltinAggArrayJsonStrip, m)
|
m@(MTVndPlan MTVndArrayJSONStrip _ _) -> mtPlanToNothing $ Just (BuiltinAggArrayJsonStrip, m)
|
||||||
-- TODO the plan should have its own MediaHandler instead of relying on MediaType
|
-- TODO the plan should have its own MediaHandler instead of relying on MediaType
|
||||||
m@(MTVndPlan mType _ _) -> mtPlanToNothing $ (,) <$> (fst <$> lookupHandler mType) <*> pure m
|
m@(MTVndPlan mType _ _) -> mtPlanToNothing $ ((,) . fst <$> lookupHandler mType) <*> pure m
|
||||||
-- all the other media types can be overridden
|
-- all the other media types can be overridden
|
||||||
x -> lookupHandler x
|
x -> lookupHandler x
|
||||||
mtPlanToNothing x = if configDbPlanEnabled conf then x else Nothing -- don't find anything if the plan media type is not allowed
|
mtPlanToNothing x = if configDbPlanEnabled conf then x else Nothing -- don't find anything if the plan media type is not allowed
|
||||||
|
|||||||
@@ -193,10 +193,10 @@ actionQuery (MaybeDb plan@InspectPlan{ipSchema=tSchema}) AppConfig{..} _ sCache
|
|||||||
<$> SQL.statement ([tSchema], configDbHoistedTxSettings) (SchemaCache.accessibleFuncs configDbPreparedStatements)
|
<$> SQL.statement ([tSchema], configDbHoistedTxSettings) (SchemaCache.accessibleFuncs configDbPreparedStatements)
|
||||||
<*> SQL.statement tSchema (SchemaCache.schemaDescription configDbPreparedStatements))
|
<*> SQL.statement tSchema (SchemaCache.schemaDescription configDbPreparedStatements))
|
||||||
OAIgnorePriv ->
|
OAIgnorePriv ->
|
||||||
MaybeDbResult plan . Just <$> ((,,)
|
(MaybeDbResult plan . Just) . (,,)
|
||||||
(HM.filterWithKey (\(QualifiedIdentifier sch _) _ -> sch == tSchema) $ SchemaCache.dbTables sCache)
|
(HM.filterWithKey (\(QualifiedIdentifier sch _) _ -> sch == tSchema) $ SchemaCache.dbTables sCache)
|
||||||
(HM.filterWithKey (\(QualifiedIdentifier sch _) _ -> sch == tSchema) $ SchemaCache.dbRoutines sCache)
|
(HM.filterWithKey (\(QualifiedIdentifier sch _) _ -> sch == tSchema) $ SchemaCache.dbRoutines sCache)
|
||||||
<$> SQL.statement tSchema (SchemaCache.schemaDescription configDbPreparedStatements))
|
<$> SQL.statement tSchema (SchemaCache.schemaDescription configDbPreparedStatements)
|
||||||
OADisabled ->
|
OADisabled ->
|
||||||
pure $ MaybeDbResult plan Nothing
|
pure $ MaybeDbResult plan Nothing
|
||||||
|
|
||||||
@@ -279,9 +279,9 @@ setPgLocals dbActPlan AppConfig{..} claims role ApiRequest{..} = lift $
|
|||||||
claimsSql = [setConfigWithConstantName ("request.jwt.claims", LBS.toStrict $ JSON.encode claims)]
|
claimsSql = [setConfigWithConstantName ("request.jwt.claims", LBS.toStrict $ JSON.encode claims)]
|
||||||
roleSql = [setConfigWithConstantName ("role", role)]
|
roleSql = [setConfigWithConstantName ("role", role)]
|
||||||
roleSettingsSql = setConfigWithDynamicName <$> HM.toList (fromMaybe mempty $ HM.lookup role configRoleSettings)
|
roleSettingsSql = setConfigWithDynamicName <$> HM.toList (fromMaybe mempty $ HM.lookup role configRoleSettings)
|
||||||
appSettingsSql = setConfigWithDynamicName <$> (join bimap toUtf8 <$> configAppSettings)
|
appSettingsSql = setConfigWithDynamicName . join bimap toUtf8 <$> configAppSettings
|
||||||
timezoneSql = maybe mempty (\(PreferTimezone tz) -> [setConfigWithConstantName ("timezone", tz)]) $ preferTimezone iPreferences
|
timezoneSql = maybe mempty (\(PreferTimezone tz) -> [setConfigWithConstantName ("timezone", tz)]) $ preferTimezone iPreferences
|
||||||
funcSettingsSql = setConfigWithDynamicName <$> (join bimap toUtf8 <$> funcSettings)
|
funcSettingsSql = setConfigWithDynamicName . join bimap toUtf8 <$> funcSettings
|
||||||
searchPathSql =
|
searchPathSql =
|
||||||
let schemas = escapeIdentList (iSchema : configDbExtraSearchPath) in
|
let schemas = escapeIdentList (iSchema : configDbExtraSearchPath) in
|
||||||
setConfigWithConstantName ("search_path", schemas)
|
setConfigWithConstantName ("search_path", schemas)
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
- - - tag: RelAnyElement
|
||||||
|
- tag: MTTextCSV
|
||||||
|
- - tag: BuiltinOvAggCsv
|
||||||
|
- tag: MTTextCSV
|
||||||
|
|
||||||
- - - tag: RelAnyElement
|
- - - tag: RelAnyElement
|
||||||
- tag: MTGeoJSON
|
- tag: MTGeoJSON
|
||||||
- - tag: BuiltinOvAggGeoJson
|
- - tag: BuiltinOvAggGeoJson
|
||||||
@@ -8,11 +13,6 @@
|
|||||||
- - tag: BuiltinOvAggJson
|
- - tag: BuiltinOvAggJson
|
||||||
- tag: MTApplicationJSON
|
- tag: MTApplicationJSON
|
||||||
|
|
||||||
- - - tag: RelAnyElement
|
|
||||||
- tag: MTTextCSV
|
|
||||||
- - tag: BuiltinOvAggCsv
|
|
||||||
- tag: MTTextCSV
|
|
||||||
|
|
||||||
- - - tag: RelAnyElement
|
- - - tag: RelAnyElement
|
||||||
- tag: MTAny
|
- tag: MTAny
|
||||||
- - tag: BuiltinOvAggJson
|
- - tag: BuiltinOvAggJson
|
||||||
|
|||||||
@@ -1,72 +1,11 @@
|
|||||||
- - qiName: reload_pgrst_config
|
- - qiName: rpc_with_two_hoisted
|
||||||
qiSchema: public
|
|
||||||
- - pdDescription: null
|
|
||||||
pdFuncSettings: []
|
|
||||||
pdHasVariadic: false
|
|
||||||
pdName: reload_pgrst_config
|
|
||||||
pdParams: []
|
|
||||||
pdReturnType:
|
|
||||||
contents:
|
|
||||||
contents:
|
|
||||||
qiName: void
|
|
||||||
qiSchema: pg_catalog
|
|
||||||
tag: Scalar
|
|
||||||
tag: Single
|
|
||||||
pdSchema: public
|
|
||||||
pdVolatility: Volatile
|
|
||||||
|
|
||||||
- - qiName: change_max_rows_config
|
|
||||||
qiSchema: public
|
|
||||||
- - pdDescription: null
|
|
||||||
pdFuncSettings: []
|
|
||||||
pdHasVariadic: false
|
|
||||||
pdName: change_max_rows_config
|
|
||||||
pdParams:
|
|
||||||
- ppName: val
|
|
||||||
ppReq: true
|
|
||||||
ppType: integer
|
|
||||||
ppTypeMaxLength: integer
|
|
||||||
ppVar: false
|
|
||||||
- ppName: notify
|
|
||||||
ppReq: false
|
|
||||||
ppType: boolean
|
|
||||||
ppTypeMaxLength: boolean
|
|
||||||
ppVar: false
|
|
||||||
pdReturnType:
|
|
||||||
contents:
|
|
||||||
contents:
|
|
||||||
qiName: void
|
|
||||||
qiSchema: pg_catalog
|
|
||||||
tag: Scalar
|
|
||||||
tag: Single
|
|
||||||
pdSchema: public
|
|
||||||
pdVolatility: Volatile
|
|
||||||
|
|
||||||
- - qiName: reset_invalid_role_claim_key
|
|
||||||
qiSchema: public
|
|
||||||
- - pdDescription: null
|
|
||||||
pdFuncSettings: []
|
|
||||||
pdHasVariadic: false
|
|
||||||
pdName: reset_invalid_role_claim_key
|
|
||||||
pdParams: []
|
|
||||||
pdReturnType:
|
|
||||||
contents:
|
|
||||||
contents:
|
|
||||||
qiName: void
|
|
||||||
qiSchema: pg_catalog
|
|
||||||
tag: Scalar
|
|
||||||
tag: Single
|
|
||||||
pdSchema: public
|
|
||||||
pdVolatility: Volatile
|
|
||||||
|
|
||||||
- - qiName: rpc_with_one_hoisted
|
|
||||||
qiSchema: public
|
qiSchema: public
|
||||||
- - pdDescription: null
|
- - pdDescription: null
|
||||||
pdFuncSettings:
|
pdFuncSettings:
|
||||||
- - statement_timeout
|
- - statement_timeout
|
||||||
- 7s
|
- 10s
|
||||||
pdHasVariadic: false
|
pdHasVariadic: false
|
||||||
pdName: rpc_with_one_hoisted
|
pdName: rpc_with_two_hoisted
|
||||||
pdParams: []
|
pdParams: []
|
||||||
pdReturnType:
|
pdReturnType:
|
||||||
contents:
|
contents:
|
||||||
@@ -79,59 +18,6 @@
|
|||||||
pdSchema: public
|
pdSchema: public
|
||||||
pdVolatility: Volatile
|
pdVolatility: Volatile
|
||||||
|
|
||||||
- - qiName: serializable_isolation_level
|
|
||||||
qiSchema: public
|
|
||||||
- - pdDescription: null
|
|
||||||
pdFuncSettings:
|
|
||||||
- - default_transaction_isolation
|
|
||||||
- serializable
|
|
||||||
pdHasVariadic: false
|
|
||||||
pdName: serializable_isolation_level
|
|
||||||
pdParams: []
|
|
||||||
pdReturnType:
|
|
||||||
contents:
|
|
||||||
contents:
|
|
||||||
qiName: text
|
|
||||||
qiSchema: pg_catalog
|
|
||||||
tag: Scalar
|
|
||||||
tag: Single
|
|
||||||
pdSchema: public
|
|
||||||
pdVolatility: Volatile
|
|
||||||
|
|
||||||
- - qiName: hello
|
|
||||||
qiSchema: public
|
|
||||||
- - pdDescription: null
|
|
||||||
pdFuncSettings: []
|
|
||||||
pdHasVariadic: false
|
|
||||||
pdName: hello
|
|
||||||
pdParams: []
|
|
||||||
pdReturnType:
|
|
||||||
contents:
|
|
||||||
contents:
|
|
||||||
qiName: text
|
|
||||||
qiSchema: pg_catalog
|
|
||||||
tag: Scalar
|
|
||||||
tag: Single
|
|
||||||
pdSchema: public
|
|
||||||
pdVolatility: Volatile
|
|
||||||
|
|
||||||
- - qiName: get_pgrst_version
|
|
||||||
qiSchema: public
|
|
||||||
- - pdDescription: null
|
|
||||||
pdFuncSettings: []
|
|
||||||
pdHasVariadic: false
|
|
||||||
pdName: get_pgrst_version
|
|
||||||
pdParams: []
|
|
||||||
pdReturnType:
|
|
||||||
contents:
|
|
||||||
contents:
|
|
||||||
qiName: text
|
|
||||||
qiSchema: pg_catalog
|
|
||||||
tag: Scalar
|
|
||||||
tag: Single
|
|
||||||
pdSchema: public
|
|
||||||
pdVolatility: Volatile
|
|
||||||
|
|
||||||
- - qiName: terminate_pgrst
|
- - qiName: terminate_pgrst
|
||||||
qiSchema: public
|
qiSchema: public
|
||||||
- - pdDescription: null
|
- - pdDescription: null
|
||||||
@@ -171,22 +57,24 @@
|
|||||||
pdSchema: public
|
pdSchema: public
|
||||||
pdVolatility: Volatile
|
pdVolatility: Volatile
|
||||||
|
|
||||||
- - qiName: rpc_with_two_hoisted
|
- - qiName: change_db_schema_and_full_reload
|
||||||
qiSchema: public
|
qiSchema: public
|
||||||
- - pdDescription: null
|
- - pdDescription: null
|
||||||
pdFuncSettings:
|
pdFuncSettings: []
|
||||||
- - statement_timeout
|
|
||||||
- 10s
|
|
||||||
pdHasVariadic: false
|
pdHasVariadic: false
|
||||||
pdName: rpc_with_two_hoisted
|
pdName: change_db_schema_and_full_reload
|
||||||
pdParams: []
|
pdParams:
|
||||||
|
- ppName: schemas
|
||||||
|
ppReq: true
|
||||||
|
ppType: text
|
||||||
|
ppTypeMaxLength: text
|
||||||
|
ppVar: false
|
||||||
pdReturnType:
|
pdReturnType:
|
||||||
contents:
|
contents:
|
||||||
contents:
|
contents:
|
||||||
- qiName: items
|
qiName: void
|
||||||
qiSchema: public
|
qiSchema: pg_catalog
|
||||||
- false
|
tag: Scalar
|
||||||
tag: Composite
|
|
||||||
tag: Single
|
tag: Single
|
||||||
pdSchema: public
|
pdSchema: public
|
||||||
pdVolatility: Volatile
|
pdVolatility: Volatile
|
||||||
@@ -218,130 +106,6 @@
|
|||||||
pdSchema: public
|
pdSchema: public
|
||||||
pdVolatility: Volatile
|
pdVolatility: Volatile
|
||||||
|
|
||||||
- - qiName: reset_db_schemas_config
|
|
||||||
qiSchema: public
|
|
||||||
- - pdDescription: null
|
|
||||||
pdFuncSettings: []
|
|
||||||
pdHasVariadic: false
|
|
||||||
pdName: reset_db_schemas_config
|
|
||||||
pdParams: []
|
|
||||||
pdReturnType:
|
|
||||||
contents:
|
|
||||||
contents:
|
|
||||||
qiName: void
|
|
||||||
qiSchema: pg_catalog
|
|
||||||
tag: Scalar
|
|
||||||
tag: Single
|
|
||||||
pdSchema: public
|
|
||||||
pdVolatility: Volatile
|
|
||||||
|
|
||||||
- - qiName: change_db_schemas_config
|
|
||||||
qiSchema: public
|
|
||||||
- - pdDescription: null
|
|
||||||
pdFuncSettings: []
|
|
||||||
pdHasVariadic: false
|
|
||||||
pdName: change_db_schemas_config
|
|
||||||
pdParams: []
|
|
||||||
pdReturnType:
|
|
||||||
contents:
|
|
||||||
contents:
|
|
||||||
qiName: void
|
|
||||||
qiSchema: pg_catalog
|
|
||||||
tag: Scalar
|
|
||||||
tag: Single
|
|
||||||
pdSchema: public
|
|
||||||
pdVolatility: Volatile
|
|
||||||
|
|
||||||
- - qiName: change_db_schema_and_full_reload
|
|
||||||
qiSchema: public
|
|
||||||
- - pdDescription: null
|
|
||||||
pdFuncSettings: []
|
|
||||||
pdHasVariadic: false
|
|
||||||
pdName: change_db_schema_and_full_reload
|
|
||||||
pdParams:
|
|
||||||
- ppName: schemas
|
|
||||||
ppReq: true
|
|
||||||
ppType: text
|
|
||||||
ppTypeMaxLength: text
|
|
||||||
ppVar: false
|
|
||||||
pdReturnType:
|
|
||||||
contents:
|
|
||||||
contents:
|
|
||||||
qiName: void
|
|
||||||
qiSchema: pg_catalog
|
|
||||||
tag: Scalar
|
|
||||||
tag: Single
|
|
||||||
pdSchema: public
|
|
||||||
pdVolatility: Volatile
|
|
||||||
|
|
||||||
- - qiName: invalid_role_claim_key_reload
|
|
||||||
qiSchema: public
|
|
||||||
- - pdDescription: null
|
|
||||||
pdFuncSettings: []
|
|
||||||
pdHasVariadic: false
|
|
||||||
pdName: invalid_role_claim_key_reload
|
|
||||||
pdParams: []
|
|
||||||
pdReturnType:
|
|
||||||
contents:
|
|
||||||
contents:
|
|
||||||
qiName: void
|
|
||||||
qiSchema: pg_catalog
|
|
||||||
tag: Scalar
|
|
||||||
tag: Single
|
|
||||||
pdSchema: public
|
|
||||||
pdVolatility: Volatile
|
|
||||||
|
|
||||||
- - qiName: reset_max_rows_config
|
|
||||||
qiSchema: public
|
|
||||||
- - pdDescription: null
|
|
||||||
pdFuncSettings: []
|
|
||||||
pdHasVariadic: false
|
|
||||||
pdName: reset_max_rows_config
|
|
||||||
pdParams: []
|
|
||||||
pdReturnType:
|
|
||||||
contents:
|
|
||||||
contents:
|
|
||||||
qiName: void
|
|
||||||
qiSchema: pg_catalog
|
|
||||||
tag: Scalar
|
|
||||||
tag: Single
|
|
||||||
pdSchema: public
|
|
||||||
pdVolatility: Volatile
|
|
||||||
|
|
||||||
- - qiName: root
|
|
||||||
qiSchema: public
|
|
||||||
- - pdDescription: null
|
|
||||||
pdFuncSettings: []
|
|
||||||
pdHasVariadic: false
|
|
||||||
pdName: root
|
|
||||||
pdParams: []
|
|
||||||
pdReturnType:
|
|
||||||
contents:
|
|
||||||
contents:
|
|
||||||
qiName: json
|
|
||||||
qiSchema: pg_catalog
|
|
||||||
tag: Scalar
|
|
||||||
tag: Single
|
|
||||||
pdSchema: public
|
|
||||||
pdVolatility: Volatile
|
|
||||||
|
|
||||||
- - qiName: uses_prepared_statements
|
|
||||||
qiSchema: public
|
|
||||||
- - pdDescription: null
|
|
||||||
pdFuncSettings: []
|
|
||||||
pdHasVariadic: false
|
|
||||||
pdName: uses_prepared_statements
|
|
||||||
pdParams: []
|
|
||||||
pdReturnType:
|
|
||||||
contents:
|
|
||||||
contents:
|
|
||||||
qiName: bool
|
|
||||||
qiSchema: pg_catalog
|
|
||||||
tag: Scalar
|
|
||||||
tag: Single
|
|
||||||
pdSchema: public
|
|
||||||
pdVolatility: Volatile
|
|
||||||
|
|
||||||
- - qiName: migrate_function
|
- - qiName: migrate_function
|
||||||
qiSchema: public
|
qiSchema: public
|
||||||
- - pdDescription: null
|
- - pdDescription: null
|
||||||
@@ -359,23 +123,6 @@
|
|||||||
pdSchema: public
|
pdSchema: public
|
||||||
pdVolatility: Volatile
|
pdVolatility: Volatile
|
||||||
|
|
||||||
- - qiName: create_function
|
|
||||||
qiSchema: public
|
|
||||||
- - pdDescription: null
|
|
||||||
pdFuncSettings: []
|
|
||||||
pdHasVariadic: false
|
|
||||||
pdName: create_function
|
|
||||||
pdParams: []
|
|
||||||
pdReturnType:
|
|
||||||
contents:
|
|
||||||
contents:
|
|
||||||
qiName: void
|
|
||||||
qiSchema: pg_catalog
|
|
||||||
tag: Scalar
|
|
||||||
tag: Single
|
|
||||||
pdSchema: public
|
|
||||||
pdVolatility: Volatile
|
|
||||||
|
|
||||||
- - qiName: change_role_statement_timeout
|
- - qiName: change_role_statement_timeout
|
||||||
qiSchema: public
|
qiSchema: public
|
||||||
- - pdDescription: null
|
- - pdDescription: null
|
||||||
@@ -398,31 +145,29 @@
|
|||||||
pdSchema: public
|
pdSchema: public
|
||||||
pdVolatility: Volatile
|
pdVolatility: Volatile
|
||||||
|
|
||||||
- - qiName: repeatable_read_isolation_level
|
- - qiName: reset_max_rows_config
|
||||||
qiSchema: public
|
qiSchema: public
|
||||||
- - pdDescription: null
|
- - pdDescription: null
|
||||||
pdFuncSettings:
|
pdFuncSettings: []
|
||||||
- - default_transaction_isolation
|
|
||||||
- REPEATABLE READ
|
|
||||||
pdHasVariadic: false
|
pdHasVariadic: false
|
||||||
pdName: repeatable_read_isolation_level
|
pdName: reset_max_rows_config
|
||||||
pdParams: []
|
pdParams: []
|
||||||
pdReturnType:
|
pdReturnType:
|
||||||
contents:
|
contents:
|
||||||
contents:
|
contents:
|
||||||
qiName: text
|
qiName: void
|
||||||
qiSchema: pg_catalog
|
qiSchema: pg_catalog
|
||||||
tag: Scalar
|
tag: Scalar
|
||||||
tag: Single
|
tag: Single
|
||||||
pdSchema: public
|
pdSchema: public
|
||||||
pdVolatility: Volatile
|
pdVolatility: Volatile
|
||||||
|
|
||||||
- - qiName: drop_change_cats
|
- - qiName: reset_invalid_role_claim_key
|
||||||
qiSchema: public
|
qiSchema: public
|
||||||
- - pdDescription: null
|
- - pdDescription: null
|
||||||
pdFuncSettings: []
|
pdFuncSettings: []
|
||||||
pdHasVariadic: false
|
pdHasVariadic: false
|
||||||
pdName: drop_change_cats
|
pdName: reset_invalid_role_claim_key
|
||||||
pdParams: []
|
pdParams: []
|
||||||
pdReturnType:
|
pdReturnType:
|
||||||
contents:
|
contents:
|
||||||
@@ -434,6 +179,45 @@
|
|||||||
pdSchema: public
|
pdSchema: public
|
||||||
pdVolatility: Volatile
|
pdVolatility: Volatile
|
||||||
|
|
||||||
|
- - qiName: get_postgres_version
|
||||||
|
qiSchema: public
|
||||||
|
- - pdDescription: null
|
||||||
|
pdFuncSettings: []
|
||||||
|
pdHasVariadic: false
|
||||||
|
pdName: get_postgres_version
|
||||||
|
pdParams: []
|
||||||
|
pdReturnType:
|
||||||
|
contents:
|
||||||
|
contents:
|
||||||
|
qiName: int4
|
||||||
|
qiSchema: pg_catalog
|
||||||
|
tag: Scalar
|
||||||
|
tag: Single
|
||||||
|
pdSchema: public
|
||||||
|
pdVolatility: Volatile
|
||||||
|
|
||||||
|
- - qiName: get_guc_value
|
||||||
|
qiSchema: public
|
||||||
|
- - pdDescription: null
|
||||||
|
pdFuncSettings: []
|
||||||
|
pdHasVariadic: false
|
||||||
|
pdName: get_guc_value
|
||||||
|
pdParams:
|
||||||
|
- ppName: name
|
||||||
|
ppReq: true
|
||||||
|
ppType: text
|
||||||
|
ppTypeMaxLength: text
|
||||||
|
ppVar: false
|
||||||
|
pdReturnType:
|
||||||
|
contents:
|
||||||
|
contents:
|
||||||
|
qiName: text
|
||||||
|
qiSchema: pg_catalog
|
||||||
|
tag: Scalar
|
||||||
|
tag: Single
|
||||||
|
pdSchema: public
|
||||||
|
pdVolatility: Volatile
|
||||||
|
|
||||||
- - qiName: one_sec_timeout
|
- - qiName: one_sec_timeout
|
||||||
qiSchema: public
|
qiSchema: public
|
||||||
- - pdDescription: null
|
- - pdDescription: null
|
||||||
@@ -453,12 +237,66 @@
|
|||||||
pdSchema: public
|
pdSchema: public
|
||||||
pdVolatility: Volatile
|
pdVolatility: Volatile
|
||||||
|
|
||||||
- - qiName: notify_do_nothing
|
- - qiName: reload_pgrst_config
|
||||||
qiSchema: public
|
qiSchema: public
|
||||||
- - pdDescription: null
|
- - pdDescription: null
|
||||||
pdFuncSettings: []
|
pdFuncSettings: []
|
||||||
pdHasVariadic: false
|
pdHasVariadic: false
|
||||||
pdName: notify_do_nothing
|
pdName: reload_pgrst_config
|
||||||
|
pdParams: []
|
||||||
|
pdReturnType:
|
||||||
|
contents:
|
||||||
|
contents:
|
||||||
|
qiName: void
|
||||||
|
qiSchema: pg_catalog
|
||||||
|
tag: Scalar
|
||||||
|
tag: Single
|
||||||
|
pdSchema: public
|
||||||
|
pdVolatility: Volatile
|
||||||
|
|
||||||
|
- - qiName: rpc_with_one_hoisted
|
||||||
|
qiSchema: public
|
||||||
|
- - pdDescription: null
|
||||||
|
pdFuncSettings:
|
||||||
|
- - statement_timeout
|
||||||
|
- 7s
|
||||||
|
pdHasVariadic: false
|
||||||
|
pdName: rpc_with_one_hoisted
|
||||||
|
pdParams: []
|
||||||
|
pdReturnType:
|
||||||
|
contents:
|
||||||
|
contents:
|
||||||
|
- qiName: items
|
||||||
|
qiSchema: public
|
||||||
|
- false
|
||||||
|
tag: Composite
|
||||||
|
tag: Single
|
||||||
|
pdSchema: public
|
||||||
|
pdVolatility: Volatile
|
||||||
|
|
||||||
|
- - qiName: hello
|
||||||
|
qiSchema: public
|
||||||
|
- - pdDescription: null
|
||||||
|
pdFuncSettings: []
|
||||||
|
pdHasVariadic: false
|
||||||
|
pdName: hello
|
||||||
|
pdParams: []
|
||||||
|
pdReturnType:
|
||||||
|
contents:
|
||||||
|
contents:
|
||||||
|
qiName: text
|
||||||
|
qiSchema: pg_catalog
|
||||||
|
tag: Scalar
|
||||||
|
tag: Single
|
||||||
|
pdSchema: public
|
||||||
|
pdVolatility: Volatile
|
||||||
|
|
||||||
|
- - qiName: change_db_schemas_config
|
||||||
|
qiSchema: public
|
||||||
|
- - pdDescription: null
|
||||||
|
pdFuncSettings: []
|
||||||
|
pdHasVariadic: false
|
||||||
|
pdName: change_db_schemas_config
|
||||||
pdParams: []
|
pdParams: []
|
||||||
pdReturnType:
|
pdReturnType:
|
||||||
contents:
|
contents:
|
||||||
@@ -492,17 +330,201 @@
|
|||||||
pdSchema: public
|
pdSchema: public
|
||||||
pdVolatility: Volatile
|
pdVolatility: Volatile
|
||||||
|
|
||||||
- - qiName: get_postgres_version
|
- - qiName: serializable_isolation_level
|
||||||
qiSchema: public
|
qiSchema: public
|
||||||
- - pdDescription: null
|
- - pdDescription: null
|
||||||
pdFuncSettings: []
|
pdFuncSettings:
|
||||||
|
- - default_transaction_isolation
|
||||||
|
- serializable
|
||||||
pdHasVariadic: false
|
pdHasVariadic: false
|
||||||
pdName: get_postgres_version
|
pdName: serializable_isolation_level
|
||||||
pdParams: []
|
pdParams: []
|
||||||
pdReturnType:
|
pdReturnType:
|
||||||
contents:
|
contents:
|
||||||
contents:
|
contents:
|
||||||
qiName: int4
|
qiName: text
|
||||||
|
qiSchema: pg_catalog
|
||||||
|
tag: Scalar
|
||||||
|
tag: Single
|
||||||
|
pdSchema: public
|
||||||
|
pdVolatility: Volatile
|
||||||
|
|
||||||
|
- - qiName: drop_change_cats
|
||||||
|
qiSchema: public
|
||||||
|
- - pdDescription: null
|
||||||
|
pdFuncSettings: []
|
||||||
|
pdHasVariadic: false
|
||||||
|
pdName: drop_change_cats
|
||||||
|
pdParams: []
|
||||||
|
pdReturnType:
|
||||||
|
contents:
|
||||||
|
contents:
|
||||||
|
qiName: void
|
||||||
|
qiSchema: pg_catalog
|
||||||
|
tag: Scalar
|
||||||
|
tag: Single
|
||||||
|
pdSchema: public
|
||||||
|
pdVolatility: Volatile
|
||||||
|
|
||||||
|
- - qiName: change_max_rows_config
|
||||||
|
qiSchema: public
|
||||||
|
- - pdDescription: null
|
||||||
|
pdFuncSettings: []
|
||||||
|
pdHasVariadic: false
|
||||||
|
pdName: change_max_rows_config
|
||||||
|
pdParams:
|
||||||
|
- ppName: val
|
||||||
|
ppReq: true
|
||||||
|
ppType: integer
|
||||||
|
ppTypeMaxLength: integer
|
||||||
|
ppVar: false
|
||||||
|
- ppName: notify
|
||||||
|
ppReq: false
|
||||||
|
ppType: boolean
|
||||||
|
ppTypeMaxLength: boolean
|
||||||
|
ppVar: false
|
||||||
|
pdReturnType:
|
||||||
|
contents:
|
||||||
|
contents:
|
||||||
|
qiName: void
|
||||||
|
qiSchema: pg_catalog
|
||||||
|
tag: Scalar
|
||||||
|
tag: Single
|
||||||
|
pdSchema: public
|
||||||
|
pdVolatility: Volatile
|
||||||
|
|
||||||
|
- - qiName: invalid_role_claim_key_reload
|
||||||
|
qiSchema: public
|
||||||
|
- - pdDescription: null
|
||||||
|
pdFuncSettings: []
|
||||||
|
pdHasVariadic: false
|
||||||
|
pdName: invalid_role_claim_key_reload
|
||||||
|
pdParams: []
|
||||||
|
pdReturnType:
|
||||||
|
contents:
|
||||||
|
contents:
|
||||||
|
qiName: void
|
||||||
|
qiSchema: pg_catalog
|
||||||
|
tag: Scalar
|
||||||
|
tag: Single
|
||||||
|
pdSchema: public
|
||||||
|
pdVolatility: Volatile
|
||||||
|
|
||||||
|
- - qiName: reset_db_schemas_config
|
||||||
|
qiSchema: public
|
||||||
|
- - pdDescription: null
|
||||||
|
pdFuncSettings: []
|
||||||
|
pdHasVariadic: false
|
||||||
|
pdName: reset_db_schemas_config
|
||||||
|
pdParams: []
|
||||||
|
pdReturnType:
|
||||||
|
contents:
|
||||||
|
contents:
|
||||||
|
qiName: void
|
||||||
|
qiSchema: pg_catalog
|
||||||
|
tag: Scalar
|
||||||
|
tag: Single
|
||||||
|
pdSchema: public
|
||||||
|
pdVolatility: Volatile
|
||||||
|
|
||||||
|
- - qiName: root
|
||||||
|
qiSchema: public
|
||||||
|
- - pdDescription: null
|
||||||
|
pdFuncSettings: []
|
||||||
|
pdHasVariadic: false
|
||||||
|
pdName: root
|
||||||
|
pdParams: []
|
||||||
|
pdReturnType:
|
||||||
|
contents:
|
||||||
|
contents:
|
||||||
|
qiName: json
|
||||||
|
qiSchema: pg_catalog
|
||||||
|
tag: Scalar
|
||||||
|
tag: Single
|
||||||
|
pdSchema: public
|
||||||
|
pdVolatility: Volatile
|
||||||
|
|
||||||
|
- - qiName: create_function
|
||||||
|
qiSchema: public
|
||||||
|
- - pdDescription: null
|
||||||
|
pdFuncSettings: []
|
||||||
|
pdHasVariadic: false
|
||||||
|
pdName: create_function
|
||||||
|
pdParams: []
|
||||||
|
pdReturnType:
|
||||||
|
contents:
|
||||||
|
contents:
|
||||||
|
qiName: void
|
||||||
|
qiSchema: pg_catalog
|
||||||
|
tag: Scalar
|
||||||
|
tag: Single
|
||||||
|
pdSchema: public
|
||||||
|
pdVolatility: Volatile
|
||||||
|
|
||||||
|
- - qiName: get_pgrst_version
|
||||||
|
qiSchema: public
|
||||||
|
- - pdDescription: null
|
||||||
|
pdFuncSettings: []
|
||||||
|
pdHasVariadic: false
|
||||||
|
pdName: get_pgrst_version
|
||||||
|
pdParams: []
|
||||||
|
pdReturnType:
|
||||||
|
contents:
|
||||||
|
contents:
|
||||||
|
qiName: text
|
||||||
|
qiSchema: pg_catalog
|
||||||
|
tag: Scalar
|
||||||
|
tag: Single
|
||||||
|
pdSchema: public
|
||||||
|
pdVolatility: Volatile
|
||||||
|
|
||||||
|
- - qiName: uses_prepared_statements
|
||||||
|
qiSchema: public
|
||||||
|
- - pdDescription: null
|
||||||
|
pdFuncSettings: []
|
||||||
|
pdHasVariadic: false
|
||||||
|
pdName: uses_prepared_statements
|
||||||
|
pdParams: []
|
||||||
|
pdReturnType:
|
||||||
|
contents:
|
||||||
|
contents:
|
||||||
|
qiName: bool
|
||||||
|
qiSchema: pg_catalog
|
||||||
|
tag: Scalar
|
||||||
|
tag: Single
|
||||||
|
pdSchema: public
|
||||||
|
pdVolatility: Volatile
|
||||||
|
|
||||||
|
- - qiName: repeatable_read_isolation_level
|
||||||
|
qiSchema: public
|
||||||
|
- - pdDescription: null
|
||||||
|
pdFuncSettings:
|
||||||
|
- - default_transaction_isolation
|
||||||
|
- REPEATABLE READ
|
||||||
|
pdHasVariadic: false
|
||||||
|
pdName: repeatable_read_isolation_level
|
||||||
|
pdParams: []
|
||||||
|
pdReturnType:
|
||||||
|
contents:
|
||||||
|
contents:
|
||||||
|
qiName: text
|
||||||
|
qiSchema: pg_catalog
|
||||||
|
tag: Scalar
|
||||||
|
tag: Single
|
||||||
|
pdSchema: public
|
||||||
|
pdVolatility: Volatile
|
||||||
|
|
||||||
|
- - qiName: notify_do_nothing
|
||||||
|
qiSchema: public
|
||||||
|
- - pdDescription: null
|
||||||
|
pdFuncSettings: []
|
||||||
|
pdHasVariadic: false
|
||||||
|
pdName: notify_do_nothing
|
||||||
|
pdParams: []
|
||||||
|
pdReturnType:
|
||||||
|
contents:
|
||||||
|
contents:
|
||||||
|
qiName: void
|
||||||
qiSchema: pg_catalog
|
qiSchema: pg_catalog
|
||||||
tag: Scalar
|
tag: Scalar
|
||||||
tag: Single
|
tag: Single
|
||||||
@@ -545,25 +567,3 @@
|
|||||||
tag: Single
|
tag: Single
|
||||||
pdSchema: public
|
pdSchema: public
|
||||||
pdVolatility: Volatile
|
pdVolatility: Volatile
|
||||||
|
|
||||||
- - qiName: get_guc_value
|
|
||||||
qiSchema: public
|
|
||||||
- - pdDescription: null
|
|
||||||
pdFuncSettings: []
|
|
||||||
pdHasVariadic: false
|
|
||||||
pdName: get_guc_value
|
|
||||||
pdParams:
|
|
||||||
- ppName: name
|
|
||||||
ppReq: true
|
|
||||||
ppType: text
|
|
||||||
ppTypeMaxLength: text
|
|
||||||
ppVar: false
|
|
||||||
pdReturnType:
|
|
||||||
contents:
|
|
||||||
contents:
|
|
||||||
qiName: text
|
|
||||||
qiSchema: pg_catalog
|
|
||||||
tag: Scalar
|
|
||||||
tag: Single
|
|
||||||
pdSchema: public
|
|
||||||
pdVolatility: Volatile
|
|
||||||
|
|||||||
@@ -10,18 +10,6 @@
|
|||||||
tableSchema: public
|
tableSchema: public
|
||||||
tableUpdatable: true
|
tableUpdatable: true
|
||||||
|
|
||||||
- - qiName: infinite_recursion
|
|
||||||
qiSchema: public
|
|
||||||
- tableColumns: {}
|
|
||||||
tableDeletable: false
|
|
||||||
tableDescription: null
|
|
||||||
tableInsertable: false
|
|
||||||
tableIsView: true
|
|
||||||
tableName: infinite_recursion
|
|
||||||
tablePKCols: []
|
|
||||||
tableSchema: public
|
|
||||||
tableUpdatable: false
|
|
||||||
|
|
||||||
- - qiName: cats
|
- - qiName: cats
|
||||||
qiSchema: public
|
qiSchema: public
|
||||||
- tableColumns:
|
- tableColumns:
|
||||||
@@ -53,18 +41,6 @@
|
|||||||
tableSchema: public
|
tableSchema: public
|
||||||
tableUpdatable: true
|
tableUpdatable: true
|
||||||
|
|
||||||
- - qiName: projects
|
|
||||||
qiSchema: public
|
|
||||||
- tableColumns: {}
|
|
||||||
tableDeletable: true
|
|
||||||
tableDescription: null
|
|
||||||
tableInsertable: true
|
|
||||||
tableIsView: false
|
|
||||||
tableName: projects
|
|
||||||
tablePKCols: []
|
|
||||||
tableSchema: public
|
|
||||||
tableUpdatable: true
|
|
||||||
|
|
||||||
- - qiName: items_w_isolation_level
|
- - qiName: items_w_isolation_level
|
||||||
qiSchema: public
|
qiSchema: public
|
||||||
- tableColumns:
|
- tableColumns:
|
||||||
@@ -95,6 +71,30 @@
|
|||||||
tableSchema: public
|
tableSchema: public
|
||||||
tableUpdatable: true
|
tableUpdatable: true
|
||||||
|
|
||||||
|
- - qiName: projects
|
||||||
|
qiSchema: public
|
||||||
|
- tableColumns: {}
|
||||||
|
tableDeletable: true
|
||||||
|
tableDescription: null
|
||||||
|
tableInsertable: true
|
||||||
|
tableIsView: false
|
||||||
|
tableName: projects
|
||||||
|
tablePKCols: []
|
||||||
|
tableSchema: public
|
||||||
|
tableUpdatable: true
|
||||||
|
|
||||||
|
- - qiName: infinite_recursion
|
||||||
|
qiSchema: public
|
||||||
|
- tableColumns: {}
|
||||||
|
tableDeletable: false
|
||||||
|
tableDescription: null
|
||||||
|
tableInsertable: false
|
||||||
|
tableIsView: true
|
||||||
|
tableName: infinite_recursion
|
||||||
|
tablePKCols: []
|
||||||
|
tableSchema: public
|
||||||
|
tableUpdatable: false
|
||||||
|
|
||||||
- - qiName: items
|
- - qiName: items
|
||||||
qiSchema: public
|
qiSchema: public
|
||||||
- tableColumns:
|
- tableColumns:
|
||||||
|
|||||||
@@ -97,6 +97,7 @@
|
|||||||
- America/Coral_Harbour
|
- America/Coral_Harbour
|
||||||
- America/Cordoba
|
- America/Cordoba
|
||||||
- America/Costa_Rica
|
- America/Costa_Rica
|
||||||
|
- America/Coyhaique
|
||||||
- America/Creston
|
- America/Creston
|
||||||
- America/Cuiaba
|
- America/Cuiaba
|
||||||
- America/Curacao
|
- America/Curacao
|
||||||
@@ -694,6 +695,7 @@
|
|||||||
- posix/America/Coral_Harbour
|
- posix/America/Coral_Harbour
|
||||||
- posix/America/Cordoba
|
- posix/America/Cordoba
|
||||||
- posix/America/Costa_Rica
|
- posix/America/Costa_Rica
|
||||||
|
- posix/America/Coyhaique
|
||||||
- posix/America/Creston
|
- posix/America/Creston
|
||||||
- posix/America/Cuiaba
|
- posix/America/Cuiaba
|
||||||
- posix/America/Curacao
|
- posix/America/Curacao
|
||||||
|
|||||||
@@ -53,6 +53,7 @@ class PostgrestSession(requests_unixsocket.Session):
|
|||||||
@dataclasses.dataclass
|
@dataclasses.dataclass
|
||||||
class PostgrestProcess:
|
class PostgrestProcess:
|
||||||
"Running PostgREST process and its corresponding main and admin endpoints."
|
"Running PostgREST process and its corresponding main and admin endpoints."
|
||||||
|
|
||||||
admin: object
|
admin: object
|
||||||
process: object
|
process: object
|
||||||
session: object
|
session: object
|
||||||
|
|||||||
Reference in New Issue
Block a user