Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Version not set when invalid URI or key/value format #686

Merged
merged 3 commits into from
Oct 5, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/references/admin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ When debugging a problem it's important to verify the running PostgREST version.

.. note::

The server sets the `fallback_application_name <https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNECT-FALLBACK-APPLICATION-NAME>`_ for this query to work. To override the value set ``application_name`` on the connection string.
- 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 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>`_ or if it contains certain unescaped special characters.
laurenceisla marked this conversation as resolved.
Show resolved Hide resolved

- The ``stderr`` logs also contain the version, as noted on :ref:`pgrst_logging`.

Expand Down
Loading