-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Messenger PostgreSQL use_notify not working with Doctrine DBAL 3 #43601
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
Comments
Just to recap: You did upgrade to |
I did upgrade doctrine/orm 2.9.0 => 2.10.1 which upgraded doctrine/dbal 2.13.4 => 3.1.3 as dependency. My point is that we need to support the current version of doctrine/orm (2.10.1) as 2.9 is now unmaintained. |
You know that you can use ORM 2.10 with DBAL 2.13, right? Anyway, I don't want to suggest downgrades as a solution. I want to trace down your problem. So if you could answer my questions, that would very much help me help you. |
Can you please test if #43630 fixes the problem for you? |
Here is the trace with DBAL 2.13.4
While the proposed fix doesn't throw error with DBAL 3.1.3 it does throw another error when downgraded to 2.13.4
|
I've pushed another fix to that PR, can you please check again? Apparently we're lacking a real integration test that covers the Postgres-specific logic for the messenger. I'll create an issue for that. |
I checked current #43630 , that solves the same problem for me (DBAL 3.1.3) |
… 3 (derrabus) This PR was merged into the 5.3 branch. Discussion ---------- [Messenger] Fix unwrapping the Postgres connection in DBAL 3 | Q | A | ------------- | --- | Branch? | 5.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #43601 | License | MIT | Doc PR | N/A Commits ------- 95d5790 [Messenger] Fix unwrapping the Postgres connection in DBAL 3
Symfony version(s) affected: 5.3.9
Description
After update to Doctrine 2.10.1 which is "current" consumers using PostgreSQL are failing
How to reproduce
Discussed here
Possible Solution
The driver connection does not extend the PDO connection anymore. There's a getWrappedConnection() method in case you need to access it.
The text was updated successfully, but these errors were encountered: