Non-core contributed modules

MRBS block: add support for Postgresql database

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.8
  • Fix Version/s: None
  • Component/s: Block: Mrbs
  • Labels:
    None
  • Database:
    PostgreSQL
  • Affected Branches:
    MOODLE_18_STABLE

Description

It would be nice to make the MRBS block support usage of the postgresql database (requested by Barbara Lawrence).

Activity

Hide
Stephen Bourget added a comment -

I think this may have been resolved by CONTRIB-623, since the install.xml will create the DB structures under postgresql, and $CFG->dbtype will tell MRBS that it is using postgresql

-Steve

Show
Stephen Bourget added a comment - I think this may have been resolved by CONTRIB-623, since the install.xml will create the DB structures under postgresql, and $CFG->dbtype will tell MRBS that it is using postgresql -Steve
Hide
Anthony Borrow added a comment -

Yep, I would still ideally like to see that we could get rid of the various database files mysql.php, mysqli.php and pgsql.php; however, I suspect that project will have to wait until my next break. Peace - Anthony

Show
Anthony Borrow added a comment - Yep, I would still ideally like to see that we could get rid of the various database files mysql.php, mysqli.php and pgsql.php; however, I suspect that project will have to wait until my next break. Peace - Anthony
Hide
Anthony Borrow added a comment -

Steve - OK, I managed to test it with postgres and it seems to be working with the latest commit. I renamed pgsql.php to postgres7.php since that is the driver name that Moodle uses. I also added in some checks to see if there was a custom port which in my case there was so I think it is working and will go ahead and resolve this. Peace - Anthony

Show
Anthony Borrow added a comment - Steve - OK, I managed to test it with postgres and it seems to be working with the latest commit. I renamed pgsql.php to postgres7.php since that is the driver name that Moodle uses. I also added in some checks to see if there was a custom port which in my case there was so I think it is working and will go ahead and resolve this. Peace - Anthony
Hide
Anthony Borrow added a comment -

Closing all of my resolved issues. Peace - Anthony

Show
Anthony Borrow added a comment - Closing all of my resolved issues. Peace - Anthony

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: