Problem/Motivation
Follow up of #3398767: Allow returning explicitly to the prior nesting level in transactions (aka allow explicit COMMIT in Transaction objects) and #3406985: Convert all transactions in core to use explicit ::commitOrRelease().
Proposed resolution
In this issue :
Deprecate the following methods in Drupal\pgsql\Driver\Database\pgsql\Connection:
::addSavepoint()::releaseSavepoint()::rollbackSavepoint()
Remaining tasks
User interface changes
No
API changes
No
Data model changes
No
Release notes snippet
Issue fork drupal-3583849
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3583849-deprecate-pgsql-connectionsavepoint
changes, plain diff MR !15392
Comments
Comment #3
mondrakeComment #4
mondrakeComment #5
liam morlandThis may also fix #2920527: Postgres driver issue with nested savepoints mimic_implicit_commit duplicated.
Comment #6
andypostother then CR it looks good to go, RTBC++
Comment #7
andypostIt exists already just was not linked, so looks ready
Comment #10
amateescu commentedCommitted and pushed 5b4ad871353 to main and 63e91839f35 to 11.x. Thanks!