Skip to content

[HttpFoundation] Use UPSERT for sessions stored in PgSql >= 9.5 #19048

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

Merged
merged 1 commit into from
Jun 14, 2016

Conversation

nicolas-grekas
Copy link
Member

Q A
Branch? 2.7
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

@@ -224,11 +224,11 @@ private function getMergeSql()
{
$platform = $this->con->getDatabasePlatform()->getName();

switch ($platform) {
case 'mysql':
switch (true) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fabpot
Copy link
Member

fabpot commented Jun 14, 2016

👍

@Tobion
Copy link
Contributor

Tobion commented Jun 14, 2016

@nicolas-grekas
Copy link
Member Author

updated

@fabpot
Copy link
Member

fabpot commented Jun 14, 2016

Thank you @nicolas-grekas.

@fabpot fabpot merged commit 9569c74 into symfony:2.7 Jun 14, 2016
fabpot added a commit that referenced this pull request Jun 14, 2016
…= 9.5 (nicolas-grekas)

This PR was merged into the 2.7 branch.

Discussion
----------

[HttpFoundation] Use UPSERT for sessions stored in PgSql >= 9.5

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Commits
-------

9569c74 [HttpFoundation] Use UPSERT for sessions stored in PgSql >= 9.5
@nicolas-grekas nicolas-grekas deleted the upsert branch June 14, 2016 11:27
@fabpot fabpot mentioned this pull request Jun 15, 2016
This was referenced Jun 30, 2016
fabpot added a commit that referenced this pull request Jul 18, 2016
…(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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants