Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-175

Drop and create database should use postgres user for pgsql connections

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-ALPHA4
    • Fix Version/s: 2.0-ALPHA4
    • Component/s: ORM
    • Security Level: All
    • Labels:
      None

      Description

      When dropping or creating a postgres database, Doctrine attempts to use the "database name" linked to the connection, however this is impossible when creating a database, and since postgres requires the dbname parameter to be set - it should be set to "postgres".

      Previous versions of Doctrine used a temp connection with a temp connection name "postgres" - the attached patch applies a similar logic.

        Activity

        Hide
        Guilherme Blanco added a comment -

        In r6807 this patch was applied.

        Thanks for report and patch!

        Show
        Guilherme Blanco added a comment - In r6807 this patch was applied. Thanks for report and patch!

          People

          • Assignee:
            Roman S. Borschel
            Reporter:
            Russ Flynn (rooster)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: