Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a79122b

Browse files
Minor corrections to high availability docs
Startup process is displayed in pg_stat_activity, noted by Yugo Nagata. Transactions can be resolved at end of recovery. Author: Yugo Nagata, with addition by me
1 parent b615920 commit a79122b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/src/sgml/high-availability.sgml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2203,12 +2203,12 @@ LOG: database system is ready to accept read only connections
22032203
<function>pg_cancel_backend()</>
22042204
and <function>pg_terminate_backend()</> will work on user backends,
22052205
but not the Startup process, which performs
2206-
recovery. <structname>pg_stat_activity</structname> does not show an
2207-
entry for the Startup process, nor do recovering transactions show
2208-
as active. As a result, <structname>pg_prepared_xacts</structname>
2209-
is always empty during recovery. If you wish to resolve in-doubt
2210-
prepared transactions, view <literal>pg_prepared_xacts</> on the
2211-
primary and issue commands to resolve transactions there.
2206+
recovery. <structname>pg_stat_activity</structname> does not show
2207+
recovering transactions as active. As a result,
2208+
<structname>pg_prepared_xacts</structname> is always empty during
2209+
recovery. If you wish to resolve in-doubt prepared transactions, view
2210+
<literal>pg_prepared_xacts</> on the primary and issue commands to
2211+
resolve transactions there or resolve them after the end of recovery.
22122212
</para>
22132213

22142214
<para>

0 commit comments

Comments
 (0)