mirror of
https://github.com/postgres/postgres.git
synced 2025-12-19 17:02:53 +03:00
Revert "For inplace update, send nontransactional invalidations."
This reverts commit 95c5acb3fc (v17) and
counterparts in each other non-master branch. If released, that commit
would have caused a worst-in-years minor release regression, via
undetected LWLock self-deadlock. This commit and its self-deadlock fix
warrant more bake time in the master branch.
Reported by Alexander Lakhin.
Discussion: https://postgr.es/m/10ec0bc3-5933-1189-6bb8-5dec4114558e@gmail.com
This commit is contained in:
@@ -975,6 +975,11 @@ EventTriggerOnLogin(void)
|
||||
* this instead of regular updates serves two purposes. First,
|
||||
* that avoids possible waiting on the row-level lock. Second,
|
||||
* that avoids dealing with TOAST.
|
||||
*
|
||||
* Changes made by inplace update may be lost due to
|
||||
* concurrent normal updates; see inplace-inval.spec. However,
|
||||
* we are OK with that. The subsequent connections will still
|
||||
* have a chance to set "dathasloginevt" to false.
|
||||
*/
|
||||
systable_inplace_update_finish(state, tuple);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user