-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Fix the DBAL session handler version check for Postgresql #19369
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
Conversation
👍 |
@symfony/deciders anyone for the second review ? |
$params = $this->con->getParams(); | ||
|
||
if (isset($params['serverVersion'])) { | ||
return $params['serverVersion']; // Explicit platform version requested (supersedes auto-detection), so we respect it. |
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.
Nitpicking: these long comments on the side of the code are a bit "strange" and, if I recall it correctly, not frequently used in Symfony. We usually put them just above the commented code.
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.
see 1376e14
👍 |
Thank you @stof. |
…(stof) This PR was merged into the 2.7 branch. Discussion ---------- Fix the DBAL session handler version check for Postgresql | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | no | Fixed tickets | n/a | License | MIT | Doc PR | n/a #19048 broken the DBAL session handler when using Postgresql by using method which does not exist on the main DBAL Connection class. Commits ------- e98c584 Fix the DBAL session handler version check for Postgresql
#19048 broken the DBAL session handler when using Postgresql by using method which does not exist on the main DBAL Connection class.