1- <!-- $PostgreSQL: pgsql/doc/src/sgml/high-availability.sgml,v 1.47 2010/02/19 00:15:25 momjian Exp $ -->
1+ <!-- $PostgreSQL: pgsql/doc/src/sgml/high-availability.sgml,v 1.48 2010/02/20 10:07:27 sriggs Exp $ -->
22
33<chapter id="high-availability">
44 <title>High Availability, Load Balancing, and Replication</title>
@@ -1079,8 +1079,8 @@ primary_conninfo = 'host=192.168.1.50 port=5432 user=foo password=foopass'
10791079 The data on the standby takes some time to arrive from the primary server
10801080 so there will be a measurable delay between primary and standby. Running the
10811081 same query nearly simultaneously on both primary and standby might therefore
1082- return differing results. Eventually, the standby will be
1083- consistent with the primary.
1082+ return differing results. We say that data on the standby is
1083+ <literal>eventually consistent</literal> with the primary.
10841084 Queries executed on the standby will be correct with regard to the transactions
10851085 that had been recovered at the start of the query, or start of first statement
10861086 in the case of serializable transactions. In comparison with the primary,
@@ -1203,12 +1203,12 @@ primary_conninfo = 'host=192.168.1.50 port=5432 user=foo password=foopass'
12031203 </listitem>
12041204 <listitem>
12051205 <para>
1206- <command>LOCK TABLE </> that explicitly requests a mode higher than <literal>ROW EXCLUSIVE MODE</>.
1206+ <command>LOCK</> that explicitly requests a mode higher than <literal>ROW EXCLUSIVE MODE</>.
12071207 </para>
12081208 </listitem>
12091209 <listitem>
12101210 <para>
1211- <command>LOCK TABLE </> in short default form, since it requests <literal>ACCESS EXCLUSIVE MODE</>.
1211+ <command>LOCK</> in short default form, since it requests <literal>ACCESS EXCLUSIVE MODE</>.
12121212 </para>
12131213 </listitem>
12141214 <listitem>
@@ -1245,7 +1245,7 @@ primary_conninfo = 'host=192.168.1.50 port=5432 user=foo password=foopass'
12451245 </listitem>
12461246 <listitem>
12471247 <para>
1248- Sequence update - <function>nextval()</>
1248+ Sequence updates - <function>nextval()</>, <function>setval ()</>
12491249 </para>
12501250 </listitem>
12511251 <listitem>
@@ -1262,8 +1262,7 @@ primary_conninfo = 'host=192.168.1.50 port=5432 user=foo password=foopass'
12621262 subtle differences in behavior between read-only transactions
12631263 run on a standby and run during normal operation.
12641264 It is possible that <command>LISTEN</>, <command>UNLISTEN</>,
1265- <command>NOTIFY</>, and temporary tables might be allowed in a
1266- future release.
1265+ and temporary tables might be allowed in a future release.
12671266 </para>
12681267
12691268 <para>
@@ -1483,7 +1482,8 @@ primary_conninfo = 'host=192.168.1.50 port=5432 user=foo password=foopass'
14831482 Three-way deadlocks are possible between <literal>AccessExclusiveLocks</> arriving from
14841483 the primary, cleanup WAL records that require buffer cleanup locks, and
14851484 user requests that are waiting behind replayed <literal>AccessExclusiveLocks</>. Deadlocks
1486- are resolved by time-out when they exceed <varname>max_standby_delay</>.
1485+ are resolved immediately, should they occur, though they are thought to be
1486+ rare in practice.
14871487 </para>
14881488
14891489 <para>
@@ -1516,8 +1516,9 @@ LOG: database system is ready to accept read only connections
15161516</programlisting>
15171517
15181518 Consistency information is recorded once per checkpoint on the primary, as long
1519- as <varname>recovery_connections</> is enabled on the primary. If this parameter
1520- is disabled, it is not possible to enable recovery connections on the standby.
1519+ as <varname>recovery_connections</> is enabled on the primary. It is not possible
1520+ to enable recovery connections on the standby when reading WAL written during the
1521+ period that <varname>recovery_connections</> was disabled on the primary.
15211522 Reaching a consistent state can also be delayed in the presence
15221523 of both of these conditions:
15231524
0 commit comments