Skip to content

Commit 967e276

Browse files
committed
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
1 parent 6837632 commit 967e276

File tree

3 files changed

+164
-135
lines changed

3 files changed

+164
-135
lines changed

src/backend/access/transam/xact.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4743,7 +4743,6 @@ StartSubTransaction(void)
47434743
*/
47444744
AtSubStart_Memory();
47454745
AtSubStart_ResourceOwner();
4746-
AtSubStart_Notify();
47474746
AfterTriggerBeginSubXact();
47484747

47494748
s->state = TRANS_INPROGRESS;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy