Also, the 4th parameter used in insert_record() has been erased to avoid the bug itself. PortgreSQL upgrade not tested! (http://moodle.org/bugs/bug.php?op=show&bugid=4583)
The database checks/upgrades are now done on the main admin page like the other modules. The database files are now standard format .sql and .php files PostgreSQL support was added - BUT HAS NOT BEEN TESTED YET!!