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

PostgreSQL driver doesn't cast the keys of results to lowercase

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.0.4, 3.1
    • Fix Version/s: None
    • Component/s: Database SQL/XMLDB
    • Labels:

      Description

      All the drivers except for postgres use array_change_key_case($row, CASE_LOWER) to ensure the keys in the result are lowercase, postgres doesn't. It's a rather minor bug but may cause some plugins developed against pg to fail against other databases (like mine did).

        Attachments

          Activity

            People

            Assignee:
            jkb Jakub Kania
            Reporter:
            jkb Jakub Kania
            Participants:
            Component watchers:
            Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: