fix choice of trigger events to match display of trigger events
authorchriskl <chriskl>
Tue, 17 Jun 2003 00:41:26 +0000 (00:41 +0000)
committerchriskl <chriskl>
Tue, 17 Jun 2003 00:41:26 +0000 (00:41 +0000)
classes/database/Postgres.php

index 606bde21fecd920a5b672f0bf9115562caae1ef9..cece0ec72065e99ebf2e0d635338ff4d864f4f05 100755 (executable)
@@ -4,7 +4,7 @@
  * A class that implements the DB interface for Postgres
  * Note: This class uses ADODB and returns RecordSets.
  *
- * $Id: Postgres.php,v 1.122 2003/06/16 05:38:46 chriskl Exp $
+ * $Id: Postgres.php,v 1.123 2003/06/17 00:41:26 chriskl Exp $
  */
 
 // @@@ THOUGHT: What about inherits? ie. use of ONLY???
@@ -46,7 +46,7 @@ class Postgres extends BaseDB {
        var $typIndexDef = 'BTREE';
        // Array of allowed trigger events      
        var $triggerEvents= array('INSERT', 'UPDATE', 'DELETE', 'INSERT OR UPDATE', 'INSERT OR DELETE', 
-               'UPDATE OR DELETE', 'INSERT OR UPDATE OR DELETE');
+               'DELETE OR UPDATE', 'INSERT OR DELETE OR UPDATE');
        // When to execute the trigger  
        var $triggerExecTimes = array('BEFORE', 'AFTER');
        // Foreign key actions