|
|
@@ -811,9 +811,9 @@ abstract class Zend_Db_Table_Abstract
|
|
|
* object whose name is "<table>_<column>_seq".
|
|
|
*/
|
|
|
if ($this->_sequence === true && $this->_db instanceof Zend_Db_Adapter_Pdo_Pgsql) {
|
|
|
- $this->_sequence = "{$this->_name}_{$pkIdentity}_seq";
|
|
|
+ $this->_sequence = $this->_db->quoteIdentifier("{$this->_name}_{$pkIdentity}_seq");
|
|
|
if ($this->_schema) {
|
|
|
- $this->_sequence = $this->_schema . '.' . $this->_sequence;
|
|
|
+ $this->_sequence = $this->_db->quoteIdentifier($this->_schema) . '.' . $this->_sequence;
|
|
|
}
|
|
|
}
|
|
|
}
|