DDC-175: Drop and create database should use postgres user for pgsql connections #2399

Closed
doctrinebot opened this Issue Nov 25, 2009 · 3 comments

1 participant

@doctrinebot

Jira issue originally created by user russ:

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.

@doctrinebot

Comment created by @guilhermeblanco:

In r6807 this patch was applied.

Thanks for report and patch!

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added this to the 2.0-ALPHA4 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment