On 2025-02-24 Mo 8:33 AM, Matheus Alcantara wrote:
Hi,

On Thu, Dec 5, 2024 at 8:07 AM Peter Eisentraut <pe...@eisentraut.org> wrote:
This patch is now complete enough for testing, I think.  As I mentioned
earlier, I haven't updated pg_available_extensions() etc. to support the
path, but that shouldn't prevent some testing.
To help with this patch I'm attaching a new version with the remaining TODOs
fixed and also with a new TAP test.

Thoughts?



I think your additions generally look good. We should be able to simplify this:


+    system_dir = psprintf("%s/extension", sharepath);
+    ecp = system_dir;
+
+    if (strlen(Extension_control_path) == 0)
+    {
+        paths = lappend(paths, ecp);
+    }


cheers


andrew



--
Andrew Dunstan
EDB: https://www.enterprisedb.com



Reply via email to