1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-31 22:04:40 +03:00

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
This commit is contained in:
Michael Paquier
2022-03-25 14:11:18 +09:00
parent 3e67a5cac6
commit ad8759bea0

View File

@ -1273,10 +1273,10 @@ LogStandbySnapshot(void)
/* /*
* Record an enhanced snapshot of running transactions into WAL. * Record an enhanced snapshot of running transactions into WAL.
* *
* The definitions of RunningTransactionsData and xl_xact_running_xacts are * The definitions of RunningTransactionsData and xl_running_xacts are
* similar. We keep them separate because xl_xact_running_xacts is a * similar. We keep them separate because xl_running_xacts is a contiguous
* contiguous chunk of memory and never exists fully until it is assembled in * chunk of memory and never exists fully until it is assembled in WAL.
* WAL. The inserted records are marked as not being important for durability, * The inserted records are marked as not being important for durability,
* to avoid triggering superfluous checkpoint / archiving activity. * to avoid triggering superfluous checkpoint / archiving activity.
*/ */
static XLogRecPtr static XLogRecPtr