Skip to content

Commit ad8759b

Browse files
committed
Fix typos in standby.c
xl_running_xacts exists, not xl_xact_running_xacts. Author: Hou Zhijie Discussion: https://postgr.es/m/OS0PR01MB57160D8B01097FFB5C175065941A9@OS0PR01MB5716.jpnprd01.prod.outlook.com
1 parent 3e67a5c commit ad8759b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/backend/storage/ipc/standby.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1273,10 +1273,10 @@ LogStandbySnapshot(void)
12731273
/*
12741274
* Record an enhanced snapshot of running transactions into WAL.
12751275
*
1276-
* The definitions of RunningTransactionsData and xl_xact_running_xacts are
1277-
* similar. We keep them separate because xl_xact_running_xacts is a
1278-
* contiguous chunk of memory and never exists fully until it is assembled in
1279-
* WAL. The inserted records are marked as not being important for durability,
1276+
* The definitions of RunningTransactionsData and xl_running_xacts are
1277+
* similar. We keep them separate because xl_running_xacts is a contiguous
1278+
* chunk of memory and never exists fully until it is assembled in WAL.
1279+
* The inserted records are marked as not being important for durability,
12801280
* to avoid triggering superfluous checkpoint / archiving activity.
12811281
*/
12821282
static XLogRecPtr

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