|
|
@@ -353,8 +353,8 @@ class Postgres extends DboSource {
|
|
|
if ($this->execute('DELETE FROM ' . $this->fullTableName($table))) {
|
|
|
if (isset($this->_sequenceMap[$table]) && $reset != true) {
|
|
|
foreach ($this->_sequenceMap[$table] as $sequence) {
|
|
|
- list($schema, $sequence) = explode('.', $sequence);
|
|
|
- $this->_execute("ALTER SEQUENCE \"{$schema}\".\"{$sequence}\" RESTART WITH 1");
|
|
|
+ $quoted = $this->name($sequence);
|
|
|
+ $this->_execute("ALTER SEQUENCE {$sequence} RESTART WITH 1");
|
|
|
}
|
|
|
}
|
|
|
return true;
|