3
I'm not an specialist and didn't do it myself, but I would do it like this
in the mainfile.php , you should change
define('XOOPS_DB_TYPE', 'mysql');
change it to : define('XOOPS_DB_TYPE', 'pgsql');
in the classes/database/databasefactory.php
you can see the getDatabase function, this will include
XOOPS_ROOT_PATH.'/classes/database/'.XOOPS_DB_TYPE.'database.php'; (don't change)
so the only thing you have to do, is to make a copy of the
mysqldatabase.php class, name it ie pgsqldatabase.php, and put it in the '/classes/database/ directory ,
make sure the prefix in your mainfile, corresponds with the filename of your pg class
so now you can start to re-implement the methods with the pg functions instead of mysql
good luck, and don't forget to post your sollution on the forum.