I am trying to install drupal-cvs version (21st August) on to a postgres database. There appeared to be a number of errors in the database.pgsql file, so I have done a line by line comparison against the mqsql equivalent and hopefully made it the same, whilst correcting all the errors.
Not sure if its important, but I did re-order the table creation to be in the same order as the mysql version. It seems to me that doing so will help maintainability for the future - apologies to anyone if there was a reason that order was different.
I must stress, I haven't got drupal working yet, just managed to create the database without errors, so although the changes I made seemed sensible, they may well not be - as I don't have any knowledge of the internal working of drupal;
I've created a patch file. I hope it works within a code block
--- database.pgsql 2004-08-21 00:53:59.000000000 +0100
+++ /home/alan/roo/drupal/database/database.pgsql 2004-08-21 23:52:45.000000000 +0100
@@ -29,69 +29,11 @@
CREATE INDEX accesslog_timestamp_idx ON accesslog (timestamp);
--
--- Table structure for authmap
---
-
-CREATE TABLE authmap (
- aid SERIAL,
- uid integer NOT NULL default '0',
- authname varchar(128) NOT NULL default '',
- module varchar(128) NOT NULL default '',
- PRIMARY KEY (aid),
- UNIQUE (authname)
-);
-
---
--- Table structure for blocks
---