* A class that implements the DB interface for Postgres
* Note: This class uses ADODB and returns RecordSets.
*
- * $Id: Postgres.php,v 1.119 2003/06/02 01:20:42 chriskl Exp $
+ * $Id: Postgres.php,v 1.120 2003/06/02 01:22:26 chriskl Exp $
*/
// @@@ THOUGHT: What about inherits? ie. use of ONLY???
function &resetSequence($sequence) {
$this->fieldClean($sequence);
- $sql = "SELECT SETVAL('"{$sequence}"', 1)";
+ $sql = "SELECT SETVAL('\"{$sequence}\"', 1)";
return $this->execute($sql);
}