-
Notifications
You must be signed in to change notification settings - Fork 129
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
Fix #251: dbal driver - safe queue creation #252
Fix #251: dbal driver - safe queue creation #252
Conversation
…eady existing repositories
… with constraint violation exceptions
|
||
$driver = new DoctrineDriver($connection); | ||
|
||
$driver->createQueue('foo'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: no assertions provided here. The assertion is self::once()
on the insert
call.
any idea why the tests are failing? |
Falures are at install/pecl/pyrus. Not stuff that I touched :-\ On 25 Aug 2016 8:39 p.m., "Henrik Bjørnskov" notifications@github.com
|
@henrikbjorn what can I do to speed up the merge of this one? As explained on #275 this prevents Bernard to work on PostgreSQL 9.5.x |
Im currently sick so ill look at it, when my head clears up. |
@Ocramius Thanks for this, sorry for me being so slow getting back and merging this. |
Dude, I have PRs that are pending since 5 years, and you are not paid to do
this: no need to be sorry!
Thanks for merging!
…On 15 Dec 2016 9:52 a.m., "Henrik Bjørnskov" ***@***.***> wrote:
@Ocramius <https://github.com/Ocramius> Thanks for this, sorry for me
being so slow getting back and merging this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#252 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAJakMJtzkZ5lM0UE-LrWyGn2MdG9gBcks5rIP_OgaJpZM4Jp9hE>
.
|
@henrikbjorn thank you! |
Thanks! You guys are awesome :D |
@henrikbjorn sorry to disturb you again, but I'm wondering if you intentionally merged it on 0.x branch. If it is intentional, what's the process to have it merged back on master? |
@danydev you are a life saver, didn't even notice. I have merged it into the master branch as well. |
@henrikbjorn ahah you're welcome but I don't see it on master yet |
@henrikbjorn ping :-) |
Hi @henrikbjorn ! We could really use this fix on master, even better if in a new tagged release. Are you able to merge this to master or are there any issues? |
Since we don't have
UPSERT
support in DBAL (and sadly will not be in it for a while), this PR fixes #251 by providing graceful handling of queue creation.