1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-14 01:54:08 +02:00

- DibiPostgreDriver: schema is case-sensitive

- DibiTranslator: %n modifier can construct [table] AS t statements
This commit is contained in:
David Grudl
2009-02-02 17:50:02 +00:00
parent 5ecfaf7ab1
commit a5a1da19a7
4 changed files with 15 additions and 3 deletions

View File

@@ -104,7 +104,7 @@ class DibiPostgreDriver extends DibiObject implements IDibiDriver
}
if (isset($config['schema'])) {
$this->query('SET search_path TO ' . $config['schema']);
$this->query('SET search_path TO "' . $config['schema'] . '"');
}
$this->escMethod = version_compare(PHP_VERSION , '5.2.0', '>=');