Index: performance.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/performance/performance.install,v
retrieving revision 1.1.2.4
diff -b -u -p -r1.1.2.4 performance.install
--- performance.install	28 Aug 2008 19:49:01 -0000	1.1.2.4
+++ performance.install	26 Sep 2008 16:28:05 -0000
@@ -38,6 +38,39 @@ function performance_install() {
         KEY  (last_access)
         ) /*!40100 DEFAULT CHARACTER SET UTF8 */ ");
       break;
+
+    case 'pgsql':
+      db_query("CREATE TABLE {performance_detail} (
+	pid		SERIAL,
+	timestamp	INT	     NOT NULL DEFAULT '0',
+	bytes		INT	     NOT NULL DEFAULT '0',
+	millisecs	INT	     NOT NULL DEFAULT '0',
+	query_count	INT	     NOT NULL DEFAULT '0',
+	query_timer	INT	     NOT NULL DEFAULT '0',
+	anon		SMALLINT     DEFAULT '1',
+	title		VARCHAR(255) DEFAULT NULL,
+	path		VARCHAR(255) DEFAULT NULL,
+	PRIMARY KEY (pid)
+      )");
+      db_query("CREATE INDEX {performance_detail}_timestamp_idx ON {peformance_detail} (timestamp)");
+
+      db_query("CREATE TABLE {performance_summary} (
+	path		VARCHAR(255) NOT NULL DEFAULT '',
+	last_access	INT	     NOT NULL DEFAULT '0',
+	bytes_max	INT	     NOT NULL DEFAULT '0',
+	bytes_avg	INT	     NOT NULL DEFAULT '0',
+	millisecs_max	INT	     NOT NULL DEFAULT '0',
+	millisecs_avg	INT	     NOT NULL DEFAULT '0',
+	query_count_max INT	     NOT NULL DEFAULT '0',
+	query_count_avg INT	     NOT NULL DEFAULT '0',
+	query_timer_max INT	     NOT NULL DEFAULT '0',
+	query_timer_avg INT	     NOT NULL DEFAULT '0',
+	num_accesses	INT	     NOT NULL DEFAULT '0',
+	title		VARCHAR(255) DEFAULT NULL,
+	PRIMARY KEY (path)
+      )");
+      db_query("CREATE INDEX {performance_summary}_last_access_idx ON {performance_summary} (last_access)");
+      break;
   }
 
   // Set the weight so this module runs last
