Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Upgrade to 2.11

## Deprecated the functionality of dropping client connections when dropping a database

The corresponding `getDisallowDatabaseConnectionsSQL()` and `getCloseActiveDatabaseConnectionsSQL` methods
of the `PostgreSqlPlatform` class have been deprecated.

## Deprecated `Synchronizer` package

The `Doctrine\DBAL\Schema\Synchronizer\SchemaSynchronizer` interface and all its implementations are deprecated.
Expand Down
4 changes: 4 additions & 0 deletions lib/Doctrine/DBAL/Platforms/PostgreSqlPlatform.php
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,8 @@ public function getCreateDatabaseSQL($name)
*
* This is useful to force DROP DATABASE operations which could fail because of active connections.
*
* @deprecated
*
* @param string $database The name of the database to disallow new connections for.
*
* @return string
Expand All @@ -456,6 +458,8 @@ public function getDisallowDatabaseConnectionsSQL($database)
*
* This is useful to force DROP DATABASE operations which could fail because of active connections.
*
* @deprecated
*
* @param string $database The name of the database to close currently active connections for.
*
* @return string
Expand Down