-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Merge 3.6.x into 4.0.x #5891
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
Merge 3.6.x into 4.0.x #5891
Conversation
… to allow apps to override the default schema managers
Use psalm-assert to get rid of `assert()` calls
… to PDO methods Co-authored-by: kang <[email protected]>
Make sure only PDO parameter types are passed to PDO methods
* 3.5.x: Make sure only PDO parameter types are passed
Add the PgSQL driver
…-factory Introduce the `SchemaManagerFactory` interface
Co-authored-by: Max <[email protected]>
…r-handling Raise exception if `pg_send_*()` calls fail
15bce14
to
1124ca5
Compare
src/Driver/PgSQL/Connection.php
Outdated
public function __destruct() | ||
{ | ||
if (isset($this->connection)) { | ||
@pg_close($this->connection); | ||
} | ||
|
||
unset($this->connection); | ||
} |
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.
I had to insert this destructor to avoid a deadlock in our functional test suite. Backported as #5892.
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.
Let's wait for the necessity of unset($this->connection);
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.
Removed.
* 3.6.x: Optimize pgsql queries without parameters Raise exception if pg_send_*() calls fail Add the PgSQL driver Make sure only PDO parameter types are passed [Docs] Add IBM DB2 to `configuration.rst` Use psalm-assert to get rid of assert() calls Introduce the SchemaManagerFactory interface
No description provided.