--- stock.install	2007-05-09 18:37:32.000000000 -0500
+++ stock.install.new	2008-03-17 13:13:00.000000000 -0500
@@ -4,9 +4,7 @@
 /**
  * Implementation of hook_install()
  *
- * This will automatically install the MySQL database tables for Stock module.
- *
- * Todo: Create pgsql query.
+ * This will automatically install the MySQL & PostgreSQL database tables for Stock module.
  *
  */
 function stock_install() {
@@ -22,6 +20,12 @@ function stock_install() {
       break;
 
     case 'pgsql':
+      $query = db_query(
+        "CREATE TABLE stock (
+        uid INTEGER NOT NULL DEFAULT 0,
+        symbols VARCHAR(255) NOT NULL DEFAULT '',
+        CONSTRAINT stock_pk PRIMARY KEY (uid)
+        );");
       break;
   }
 }
@@ -30,9 +34,8 @@ function stock_install() {
 /**
  * Implementation of hook_uninstall()
  *
- * This will automatically remove the MySQL database tables for Stock module.
+ * This will automatically remove the MySQL & PostgreSQL database tables for Stock module.
  *
- * Todo: Create pgsql query.
  */
 function stock_uninstall() {
   switch ($GLOBALS['db_type']) {
@@ -45,6 +48,10 @@ function stock_uninstall() {
       break;
 
     case 'pgsql':
+      db_query('DROP TABLE stock CASCADE');
+      variable_del('stock_block_title');
+      variable_del('stock_description');
+      variable_del('stock_overview_title');
       break;
   }
 }
