mirror of
https://github.com/postgres/postgres.git
synced 2025-11-10 17:42:29 +03:00
Remove AtSubStart_Notify.
Allocate notify-related state lazily instead. This makes trivial subtransactions noticeably faster. Patch by me, reviewed and tested by Dilip Kumar, Kyotaro Horiguchi, and Jeevan Ladhe. Discussion: https://postgr.es/m/CA+TgmobE1J22S1eC-6N-je9LgrcwZypkwp+zH6JXo9mc=4Nk3A@mail.gmail.com
This commit is contained in:
@@ -4743,7 +4743,6 @@ StartSubTransaction(void)
|
||||
*/
|
||||
AtSubStart_Memory();
|
||||
AtSubStart_ResourceOwner();
|
||||
AtSubStart_Notify();
|
||||
AfterTriggerBeginSubXact();
|
||||
|
||||
s->state = TRANS_INPROGRESS;
|
||||
|
||||
Reference in New Issue
Block a user