Re: Include extension path on pg_available_extensions - Mailing list pgsql-hackers

From Matheus Alcantara
Subject Re: Include extension path on pg_available_extensions
Date
Msg-id DDTYF5BVNCWW.2HK3K2N51EWPA@gmail.com
Whole thread Raw
In response to Re: Include extension path on pg_available_extensions  (Quan Zongliang <quanzongliang@yeah.net>)
Responses Re: Include extension path on pg_available_extensions
List pgsql-hackers
On Thu Oct 23, 2025 at 10:57 PM -03, Quan Zongliang wrote:
> On 10/23/25 9:56 PM, Euler Taveira wrote:
>
>>
>> * insufficient privilege: if the role doesn't have the sufficient privileges,
>>    return NULL or '<insufficient privilege>' (similar to pg_stat_activity). I
>>    don't have a strong preference but the latter can impose more effort to use
>>    if you don't know the role has sufficient privilege. However, it is clear why
>>    the absolute path is not returned.
>>
>
> +1
> I think this way is better.
>
So here it is, see attached.

I've created a new role pg_read_extension_paths for this, I'm not sure
if it's the best way to do this. I'm open for other ideas, perhaps we
can reuse some other role?

--
Matheus Alcantara

Attachment

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: POC: enable logical decoding when wal_level = 'replica' without a server restart
Next
From: vignesh C
Date:
Subject: Re: Logical Replication of sequences