MantisBT: master b5194d98

Author Committer Branch Timestamp Parent
dregad dregad master 2014-03-24 06:17 master 2d407289
Changeset

Merge PostgreSQL fixes branch

This covers several fixes to (re-)enable support for pgsql database in
master branch, which has been broken since upgrade to unpatched ADOdb
5.11 several years ago. With these, PostgreSQL should now be
operational:

  • Correct handling for booleans, including fix of installer/upgrade
    process to convert pre 1.1.0 instances SMALLINT columns to BOOLEAN
  • Finally fixing the broken Travis builds. This required new DB API
    calls to push/pop the parameter count to a stack, to enable concurrent
    build of multiple queries (required as pgsql uses positional
    parameters). Initial implementation 124f79e was procedural, then I moved
    this to a simple class in d09d5ad
  • ADOdb update to latest development head (includes a required fix to
    ADODB_postgres64->Param() )

Also includes .travis.yml changes to stop ignoring pgsql build failures.

Pull request #143

mod - .travis.yml Diff File
mod - admin/install.php Diff File
mod - core/custom_field_api.php Diff File
mod - core/database_api.php Diff File
mod - core/install_helper_functions_api.php Diff File
mod - core/user_api.php Diff File
mod - library/adodb Diff File
mod - scripts/travis_before_script.sh Diff File