mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Adding fix for Ticket #2819, fixes postgrsql schema problems when setting 'schema' => '"some_shcema"'; in database settings
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5342 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
65cdc377a6
commit
905549cc89
1 changed files with 1 additions and 0 deletions
|
@ -91,6 +91,7 @@ class DboPostgres extends DboSource {
|
|||
|
||||
if ($this->connection) {
|
||||
$this->connected = true;
|
||||
$this->_execute("SET search_path TO " . $config['schema']);
|
||||
} else {
|
||||
$this->connected = false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue