mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-175: Drop and create database should use postgres user for pgsql connections #215
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Nov 25, 2009).
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 commented on GitHub (Nov 25, 2009):
Comment created by @guilhermeblanco:
In r6807 this patch was applied.
Thanks for report and patch!
@doctrinebot commented on GitHub (Nov 25, 2009):
Issue was closed with resolution "Fixed"
@doctrinebot commented on GitHub (Dec 13, 2015):
Imported 1 attachments from Jira into https://gist.github.com/651378912d529b15aa43