bgworker_hot_standby_doc.patch
text/x-patch
Filename: bgworker_hot_standby_doc.patch
Type: text/x-patch
Part: 0
Message:
bgwriter reference to HOT standby
Patch
Format: unified
| File | + | − |
|---|---|---|
| doc/src/sgml/bgworker.sgml | 0 | 0 |
diff --git a/doc/src/sgml/bgworker.sgml b/doc/src/sgml/bgworker.sgml
new file mode 100644
index 912c7de..1151161
*** a/doc/src/sgml/bgworker.sgml
--- b/doc/src/sgml/bgworker.sgml
*************** typedef struct BackgroundWorker
*** 74,84 ****
<command>postgres</> itself has finished its own initialization; processes
requesting this are not eligible for database connections),
<literal>BgWorkerStart_ConsistentState</> (start as soon as a consistent state
! has been reached in a HOT standby, allowing processes to connect to
databases and run read-only queries), and
<literal>BgWorkerStart_RecoveryFinished</> (start as soon as the system has
entered normal read-write state). Note the last two values are equivalent
! in a server that's not a HOT standby. Note that this setting only indicates
when the processes are to be started; they do not stop when a different state
is reached.
</para>
--- 74,84 ----
<command>postgres</> itself has finished its own initialization; processes
requesting this are not eligible for database connections),
<literal>BgWorkerStart_ConsistentState</> (start as soon as a consistent state
! has been reached in a hot standby, allowing processes to connect to
databases and run read-only queries), and
<literal>BgWorkerStart_RecoveryFinished</> (start as soon as the system has
entered normal read-write state). Note the last two values are equivalent
! in a server that's not a hot standby. Note that this setting only indicates
when the processes are to be started; they do not stop when a different state
is reached.
</para>