* some comments (using # instead of /* */ )
[lhc/web/wiklou.git] / includes / DatabasePostgreSQL.php
index af7d96e..66c93d6 100644 (file)
@@ -14,6 +14,8 @@
 #
 # Hashar
 
+require_once( "Database.php" );
+
 class DatabasePgsql extends Database {
        var $mInsertId = NULL;
 
@@ -319,6 +321,11 @@ class DatabasePgsql extends Database {
        function wasDeadlock() {
                return false;
        }
+
+        # Return DB-style timestamp used for MySQL schema
+        function timestamp( $ts=0 ) {
+                return wfTimestamp(TS_DB,$ts);
+        }
 }
 
 # Just an alias.