Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DBAL-1220] Fix dropping database with active connection on PostgreSQL #849

Merged
merged 1 commit into from
Aug 21, 2015

Conversation

deeky666
Copy link
Member

@deeky666 deeky666 commented May 1, 2015

PostgreSQL fails to drop a database if there are active connections using that particular database.
This PR closes all active connections before dropping the database if dropping the database failed before.

@doctrinebot
Copy link

Hello,

thank you for creating this pull request. I have automatically opened an issue
on our Jira Bug Tracker for you. See the issue link:

http://www.doctrine-project.org/jira/browse/DBAL-1220

We use Jira to track the state of pull requests and the versions they got
included in.

@deeky666 deeky666 changed the title Fix dropping database with active connection on PostgreSQL [DBAL-1220] Fix dropping database with active connection on PostgreSQL May 1, 2015
@billschaller billschaller self-assigned this Jun 17, 2015
deeky666 added a commit that referenced this pull request Aug 21, 2015
[DBAL-1220] Fix dropping database with active connection on PostgreSQL
@deeky666 deeky666 merged commit c8f7329 into doctrine:master Aug 21, 2015
j0k3r added a commit to wallabag/wallabag that referenced this pull request Nov 6, 2015
For a not-clear reason, I can't properly drop the current database. Even if Doctrine made a special case for that (doctrine/dbal#849).

So instead of trying crazy things to achieve the test, better way is to skip test (too much wasted days ..)
j0k3r added a commit to wallabag/wallabag that referenced this pull request Nov 7, 2015
For a not-clear reason, I can't properly drop the current database. Even if Doctrine made a special case for that (doctrine/dbal#849).

So instead of trying crazy things to achieve the test, better way is to skip test (too much wasted days ..)
@deeky666 deeky666 deleted the DBAL-1220 branch July 7, 2016 07:27
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants