Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-52511

Add support for PostgreSQL 9.5

    XMLWordPrintable

Details

    Description

      1) core_dml_testcase::test_get_columns
      Failed asserting that ''-1'::integer' matches expected -1.
       
      /Users/skodak/server/workspace/moodle/lib/dml/tests/dml_test.php:758
      /Users/skodak/server/workspace/moodle/lib/phpunit/classes/database_driver_testcase.php:143
       
      To re-run:
       vendor/bin/phpunit core_dml_testcase lib/dml/tests/dml_test.php
      

      The problem seems to be with more complex syntax for column defaults. Attaching patch that I used in Totara...

      Attachments

        Issue Links

          Activity

            People

              poltawski Dan Poltawski
              skodak Petr Skoda
              Andrew Lyons Andrew Lyons
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Adrian Greeve Adrian Greeve
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/Mar/16