From 81fde6775567aa2fc9e2905a3e74f7eff71a9086 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Sat, 24 Aug 2024 11:59:07 +0200 Subject: [PATCH] set the search_path --- include/class/database.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/class/database.class.php b/include/class/database.class.php index 320fb3724..22865788a 100644 --- a/include/class/database.class.php +++ b/include/class/database.class.php @@ -64,6 +64,7 @@ class Database extends DatabaseCore parent::__construct($noalyss_user, $password, $l_dossier, $host, $port); + $this->exec_sql('set search_path to public,pg_catalog;'); if ($this->exist_schema('comptaproc')) { $this->exec_sql('set search_path to public,comptaproc,pg_catalog;'); }