Re: Avoid leaking system path from pg_available_extensions
От
Matheus Alcantara
Тема
Re: Avoid leaking system path from pg_available_extensions
Дата
Msg-id
87c8f8ac-614b-4679-afc7-f591b76c8ff7@gmail.com
Ответ на
Список
Дерево обсуждения
Re: Avoid leaking system path from pg_available_extensions Chao Li <li.evan.chao@gmail.com>
Re: Avoid leaking system path from pg_available_extensions lu feng <fnlo1995@gmail.com>
On 22/05/26 04:25, Jim Jones wrote: > On 21/05/2026 17:12, Matheus Alcantara wrote: >> I've reproduced the issue and the fix looks correct to me. > > same here, +1 > Thank you for also testing. > I was wondering if creating a constant for it would be, stylistically > speaking, a cleaner solution. For instance: > > #define EXTENSION_SYSTEM_MACRO "$system" > > I realize that it's used only inside get_extension_control_directories() > but since it is even mentioned in the docs, I guess it wouldn't be a bad > idea. > I'm not against it but I don't think that it's necessary since as you mention, only get_extension_control_directories() use. -- Matheus Alcantara EDB: https://www.enterprisedb.com
В списке pgsql-hackers по дате отправления
От: Fujii Masao
Дата: