fix: not adding application_name on all URIs

This commit is contained in:
steve-chavez
2024-05-06 11:12:45 -05:00
committed by Steve Chavez
parent 21bc48ad9a
commit 7e91e5311d
3 changed files with 38 additions and 16 deletions
-6
View File
@@ -197,12 +197,6 @@ When debugging a problem it's important to verify the running PostgREST version.
------------------------------
PostgREST 11.1.0
.. important::
- The server sets the `fallback_application_name <https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNECT-FALLBACK-APPLICATION-NAME>`_ to the connection URI for this query to work. To override the value set ``application_name`` on the connection string.
- The version will only be set if it's a valid URI (`RFC 3986 <https://datatracker.ietf.org/doc/html/rfc3986>`_). This means any special characters must be urlencoded.
- The version will not be set if the connection string is in `keyword/value format <https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING-KEYWORD-VALUE>`_.
- The ``stderr`` logs also contain the version, as noted on :ref:`pgrst_logging`.
.. _trace_header: