noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 08/19: set the search_path


From: dwm
Subject: [Noalyss-commit] [noalyss] 08/19: set the search_path
Date: Sat, 31 Aug 2024 17:46:28 -0400 (EDT)

sparkyx pushed a commit to branch pre-stable
in repository noalyss.

commit 81fde6775567aa2fc9e2905a3e74f7eff71a9086
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sat Aug 24 11:59:07 2024 +0200

    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;');
         }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]