set the search_path

This commit is contained in:
sparkyx 2024-08-24 11:59:07 +02:00
parent 3b6cdfb9fb
commit 81fde67755

View file

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