Your Question
Why doesn't gorm support RELEASE SAVEPOINT? it allows the DB to free up resources by rolling the changes into the parent transaction/savepoint. As gorm implements nested transaction with the use of savepoints i think it's highly advisable to automatically release a nested savepoint in *DB.Transaction logic.
Expected answer
I expected to have automatic savepoint release functionality inside the transaction handler or atleast to have a method Release(name string) *DB.
Comment From: Asarew
@jinzhu if you would agree i can attempt to make a PR for this
Comment From: jinzhu
It seems like a valuable feature. Thank you for your contribution.
Comment From: Asarew
@jinzhu i see you closed this issue but i don't see any capabilities for releasing a savepoint, just to be sure that their was no misunderstanding because this issue was not covered in #7174.
Comment From: Asarew
It seems like a valuable feature. Thank you for your contribution.
i also didn't see this comment for some reason so if this is actually still open, i can try to create a PR. lmk.
Comment From: jinzhu
Thanks for your interest! I closed it due to inactivity but am still looking forward to your pull request.