Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-516

[GH-316] Fixed generated sql for postgres substring function

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      This issue is created automatically through a Github pull request on behalf of stefk:

      Url: https://github.com/doctrine/dbal/pull/316

      Message:

      Currently, the postgres dbal platform generates the following sql code for the substring function : `SUBSTR('foo', 1, 2)`
      where in postgres, it should be :
      `SUBSTRING('foo' FROM 1 FOR 2)`
      This pull request simply fixes that issue.

        Activity

        Hide
        Doctrine Bot added a comment -

        A related Github Pull-Request [GH-316] was closed:
        https://github.com/doctrine/dbal/pull/316

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-316] was closed: https://github.com/doctrine/dbal/pull/316
        Hide
        Marco Pivetta added a comment -

        merged

        Show
        Marco Pivetta added a comment - merged

          People

          • Assignee:
            Guilherme Blanco
            Reporter:
            Doctrine Bot
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: