Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-874

[GH-572] Fix reverse engineering quoted table names on PostgreSQL

    Details

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

      Description

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

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

      Message:

      Commit https://github.com/doctrine/dbal/commit/83fe296de44ef3e2f04f2342021f656a797787ec introduced a bug with reverse engineering table details for tables with names requiring quotation (reserved keyword, non-identifier characters, case-folded) on PostgreSQL.
      `PostgreSqlPlatform::getListTablesSQL()` fetches table names quoted if necessary with `quote_ident(tablename)` which in turn causes other `getListTable*SQL($table)` to fail retrieving results if the table name is quoted. Those methods always have to use unquoted table names in their statements.

      See https://github.com/ZF-Commons/ZfcUserDoctrineORM/issues/77 for more details.

        Issue Links

          Activity

          Hide
          Doctrine Bot added a comment -

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

          Show
          Doctrine Bot added a comment - A related Github Pull-Request [GH-572] was closed: https://github.com/doctrine/dbal/pull/572
          Show
          Steve Müller added a comment - Fixed in commit: https://github.com/doctrine/dbal/commit/dbee8cd7a0d5b289699dcb6b0dc580fd453f5497

            People

            • Assignee:
              Steve Müller
              Reporter:
              Doctrine Bot
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: