summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2025-09-15 07:25:22 +0200
committerPeter Eisentraut <peter@eisentraut.org>2025-09-15 07:30:31 +0200
commitbf5da5d6cae959d8119b4b137ddd9912292b8014 (patch)
tree521bfed6f54cacf94cac656414fc200e9c39ce5a /doc/src
parent454c046094ab3431c2ce0c540c46e623bc05bd1a (diff)
Hide duplicate names from extension views
If extensions of equal names were installed in different directories in the path, the views pg_available_extensions and pg_available_extension_versions would show all of them, even though only the first one was actually reachable by CREATE EXTENSION. To fix, have those views skip extensions found later in the path if they have names already found earlier. Also add a bit of documentation that only the first extension in the path can be used. Reported-by: Pierrick <pierrick.chovelon@dalibo.com> Discussion: https://www.postgresql.org/message-id/flat/8f5a0517-1cb8-4085-ae89-77e7454e27ba%40dalibo.com
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/config.sgml6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 3c33d5d0fbc..e9b420f3ddb 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -11066,6 +11066,12 @@ extension_control_path = 'C:\tools\postgresql;H:\my_project\share;$system'
</para>
<para>
+ If extensions with equal names are present in multiple directories in
+ the configured path, only the instance found first in the path will be
+ used.
+ </para>
+
+ <para>
This parameter can be changed at run time by superusers and users
with the appropriate <literal>SET</literal> privilege, but a
setting done that way will only persist until the end of the