Files
postgresql/doc/src/sgml
Noah Misch 3fbbf64cee Prevent concurrent SimpleLruTruncate() for any given SLRU.
The SimpleLruTruncate() header comment states the new coding rule.  To
achieve this, add locktype "frozenid" and two LWLocks.  This closes a
rare opportunity for data loss, which manifested as "apparent
wraparound" or "could not access status of transaction" errors.  Data
loss is more likely in pg_multixact, due to released branches' thin
margin between multiStopLimit and multiWrapLimit.  If a user's physical
replication primary logged ":  apparent wraparound" messages, the user
should rebuild standbys of that primary regardless of symptoms.  At less
risk is a cluster having emitted "not accepting commands" errors or
"must be vacuumed" warnings at some point.  One can test a cluster for
this data loss by running VACUUM FREEZE in every database.  Back-patch
to 9.5 (all supported versions).

Discussion: https://postgr.es/m/20190218073103.GA1434723@rfd.leadboat.com
2020-08-15 10:15:57 -07:00
..
2016-08-10 21:39:59 -04:00
2020-07-18 22:44:04 +09:00
2016-07-14 22:28:41 -04:00
2020-07-18 22:44:04 +09:00
2015-09-10 21:40:06 -04:00
2020-07-18 22:44:04 +09:00
2018-06-20 16:07:47 +02:00
2016-01-22 12:29:22 -05:00
2020-07-18 22:44:04 +09:00
2020-07-18 22:44:04 +09:00
2020-07-18 22:44:04 +09:00
2019-01-05 12:49:51 +09:00
2015-08-14 12:10:35 -04:00
2020-01-01 12:21:44 -05:00
2017-11-10 08:32:22 -05:00
2020-06-15 13:20:29 +12:00
2020-07-18 22:44:04 +09:00
2015-08-31 14:07:41 +02:00
2020-07-18 22:44:04 +09:00
2020-07-18 22:44:04 +09:00
2019-08-20 13:46:19 +09:00
2018-03-21 23:11:56 +09:00
2015-04-26 10:33:14 -04:00
2020-07-18 22:44:04 +09:00
2015-09-05 11:36:18 +03:00
2019-08-20 13:46:19 +09:00
2015-06-03 20:19:47 -04:00
2016-05-01 21:34:41 -04:00
2019-08-20 13:46:19 +09:00

<!-- doc/src/sgml/README.links -->

Linking within SGML documents can be confusing, so here is a summary:


Intra-document Linking
----------------------

<xref>
	use to get chapter/section number from the title of the target
	link, or xreflabel if defined at the target, or refentrytitle if target
        is a refentry;  has no close tag
	http://www.oasis-open.org/docbook/documentation/reference/html/xref.html

<link>
	use to supply text for the link, requires </link>
	http://www.oasis-open.org/docbook/documentation/reference/html/link.html

linkend=
	controls the target of the link/xref, required

endterm=
	for <xref>, allows the text of the link/xref to be taken from a
	different link target title


External Linking
----------------

<ulink>
	like <link>, but uses a URL (not a document target);  requires
	</ulink>; if no text is specified, the URL appears as the link
	text
	http://www.oasis-open.org/docbook/documentation/reference/html/ulink.html

url=
	used by <ulink> to specify the URL, required


Guidelines
----------

o  If you want to supply text, use <link>, else <xref>
o  Do not use text with <ulink> so the URL appears in printed output
o  Specific nouns like GUC variables, SQL commands, and contrib modules
   usually have xreflabels