postgresql/src
Andrew Dunstan f3c9e341cd Add paths of extensions to pg_available_extensions
Add a new "location" column to the pg_available_extensions and
pg_available_extension_versions views, exposing the directory where
the extension is located.

The default system location is shown as '$system', the same value
that can be used to configure the extension_control_path GUC.

User-defined locations are only visible for super users, otherwise
'<insufficient privilege>' is returned as a column value, the same
behaviour that we already use in pg_stat_activity.

I failed to resist the temptation to do a little extra editorializing of
the TAP test script.

Catalog version bumped.

Author: Matheus Alcantara <mths.dev@pm.me>
Reviewed-By: Chao Li <li.evan.chao@gmail.com>
Reviewed-By: Rohit Prasad <rohit.prasad@arm.com>
Reviewed-By: Michael Banck <mbanck@gmx.net>
Reviewed-By: Manni Wood <manni.wood@enterprisedb.com>
Reviewed-By: Euler Taveira <euler@eulerto.com>
Reviewed-By: Quan Zongliang <quanzongliang@yeah.net>
2026-01-01 12:13:59 -05:00
..
backend Add paths of extensions to pg_available_extensions 2026-01-01 12:13:59 -05:00
bin Split some long Makefile lists 2025-12-28 09:17:42 +09:00
common Use palloc_object() and palloc_array() in more areas of the tree 2025-12-09 14:53:17 +09:00
fe_utils Add ParallelSlotSetIdle(). 2025-12-09 13:34:22 -06:00
include Add paths of extensions to pg_available_extensions 2026-01-01 12:13:59 -05:00
interfaces Split some long Makefile lists 2025-12-28 09:17:42 +09:00
makefiles Fix meson warning due to missing declaration of NM 2025-12-10 08:10:28 +09:00
pl Split some long Makefile lists 2025-12-28 09:17:42 +09:00
port Fix another case of indirectly casting away const. 2025-12-23 21:38:43 -05:00
template Remove traces of support for Sun Studio compiler 2025-09-12 07:39:05 +02:00
test Add paths of extensions to pg_available_extensions 2026-01-01 12:13:59 -05:00
timezone Use palloc_object() and palloc_array() in more areas of the tree 2025-12-09 14:53:17 +09:00
tools Add paths of extensions to pg_available_extensions 2026-01-01 12:13:59 -05:00
tutorial Use palloc_object() and palloc_array() in more areas of the tree 2025-12-09 14:53:17 +09:00
.gitignore
DEVELOPERS
Makefile Remove distprep 2023-11-06 15:18:04 +01:00
Makefile.global.in libpq: Refactor logic checking for exit() in shared library builds 2025-12-09 10:39:08 +09:00
Makefile.shlib Use exported symbols list on macOS for loadable modules as well 2025-06-10 07:04:43 +02:00
meson.build Update copyright for 2025 2025-01-01 11:21:55 -05:00
nls-global.mk Fix update-po for the PGXS case 2025-10-16 20:21:05 +02:00