always quote for postgreSQL, as this is the only way to support mixed case names

This commit is contained in:
Ralf Becker 2012-03-07 21:33:59 +00:00
parent c0db2e36a9
commit ebe229e885

View File

@ -1384,7 +1384,8 @@ class egw_db
}
// if name contains special characters, quote it
if ( preg_match('/\W/', $name) ) {
// always quote for postgreSQL, as this is the only way to support mixed case names
if ( preg_match('/\W/', $name) || $this->Type == 'ppsql') {
return $quote . $name . $quote;
}