Even though Postgres 7.4.x is officially supported, several upgrade scripts use syntax that only works in Postgres 8.x. and it's impossible to finish the upgrade.
The attached patch fixes those scripts.
Saludos. I?aki.
Author: I?aki Arenaza
Review: Jun Yamog, Martin Langhoff
It wasn' working fine because the wiki_pages table hadn't an id (primary key) field.
I've created, in the upgrade process, a temporary table to copy all the wiki_pages
records and then, drop and create again the table.
Tested under MySQL. Need to be tested (both creation and upgrade) under PostgreSQL!!!
Minor modifications to ewikimoodlelib.php to work with this new id field too. Seems to work
although deeper tests will be welcome (attachements, binary contents...)
Cross your fingers! ;-)
(plus it doesn't show IP information to everyone!)
All old authors are not currently displayed (I chose not to)
This is easy to fix if people want it, since the old author
string is still there in the database.