Skip to content

Loading…

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

Closed
doctrinebot opened this Issue · 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
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.