2017-09-15 16:17:37 +02:00
|
|
|
<?xml version='1.0'?>
|
|
|
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
|
|
version="1.0">
|
|
|
|
|
|
|
|
<!--
|
|
|
|
This is a preprocessing layer to convert the installation instructions into a
|
|
|
|
variant without links and references to the main documentation.
|
|
|
|
|
|
|
|
- To omit something in the stand-alone INSTALL file, give the element a
|
|
|
|
condition="standalone-ignore" attribute.
|
|
|
|
|
|
|
|
- If there is no element that exactly covers what you want to change, wrap it
|
|
|
|
in a <phrase> element, which otherwise does nothing.
|
|
|
|
|
|
|
|
- Otherwise, write a custom rule below.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<xsl:output
|
2019-08-13 08:38:21 +02:00
|
|
|
doctype-public="-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
doctype-system="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"/>
|
2017-09-15 16:17:37 +02:00
|
|
|
|
|
|
|
<!-- copy everything by default -->
|
|
|
|
|
|
|
|
<xsl:template match="@*|node()">
|
|
|
|
<xsl:copy>
|
|
|
|
<xsl:apply-templates select="@*|node()" />
|
|
|
|
</xsl:copy>
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
<!-- particular conversions -->
|
|
|
|
|
|
|
|
<xsl:template match="*[@condition='standalone-ignore']">
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
<xsl:template match="phrase/text()['chapter']">
|
|
|
|
<xsl:text>document</xsl:text>
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
<xsl:template match="phrase[@id='install-ldap-links']">
|
|
|
|
<xsl:text>the documentation about client authentication and libpq</xsl:text>
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
<xsl:template match="xref[@linkend='docguide-toolsets']">
|
|
|
|
<xsl:text>the main documentation's appendix on documentation</xsl:text>
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
<xsl:template match="xref[@linkend='dynamic-trace']">
|
|
|
|
<xsl:text>the documentation</xsl:text>
|
|
|
|
</xsl:template>
|
|
|
|
|
2021-05-10 07:34:07 +02:00
|
|
|
<xsl:template match="xref[@linkend='guc-default-toast-compression']">
|
|
|
|
<xsl:text>the configuration parameter default_toast_compression</xsl:text>
|
|
|
|
</xsl:template>
|
|
|
|
|
Add support for LZ4 with compression of full-page writes in WAL
The logic is implemented so as there can be a choice in the compression
used when building a WAL record, and an extra per-record bit is used to
track down if a block is compressed with PGLZ, LZ4 or nothing.
wal_compression, the existing parameter, is changed to an enum with
support for the following backward-compatible values:
- "off", the default, to not use compression.
- "pglz" or "on", to compress FPWs with PGLZ.
- "lz4", the new mode, to compress FPWs with LZ4.
Benchmarking has showed that LZ4 outclasses easily PGLZ. ZSTD would be
also an interesting choice, but going just with LZ4 for now makes the
patch minimalistic as toast compression is already able to use LZ4, so
there is no need to worry about any build-related needs for this
implementation.
Author: Andrey Borodin, Justin Pryzby
Reviewed-by: Dilip Kumar, Michael Paquier
Discussion: https://postgr.es/m/3037310D-ECB7-4BF1-AF20-01C10BB33A33@yandex-team.ru
2021-06-29 04:17:55 +02:00
|
|
|
<xsl:template match="xref[@linkend='guc-wal-compression']">
|
|
|
|
<xsl:text>the configuration parameter wal_compression</xsl:text>
|
|
|
|
</xsl:template>
|
|
|
|
|
2017-09-15 16:17:37 +02:00
|
|
|
<xsl:template match="xref[@linkend='install-windows']">
|
|
|
|
<xsl:text>the documentation</xsl:text>
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
<xsl:template match="xref[@linkend='plpython-python23']">
|
|
|
|
<xsl:text>the </xsl:text><application>PL/Python</application><xsl:text> documentation</xsl:text>
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
<xsl:template match="xref[@linkend='regress']">
|
|
|
|
<xsl:text>the file </xsl:text>
|
|
|
|
<filename>src/test/regress/README</filename>
|
|
|
|
<xsl:text> and the documentation</xsl:text>
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
<xsl:template match="xref[@linkend='upgrading']">
|
|
|
|
<xsl:text>the documentation</xsl:text>
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
<xsl:template match="xref[@linkend='uuid-ossp']">
|
|
|
|
<xsl:text>uuid-ossp</xsl:text>
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
<xsl:template match="xref[@linkend='xml2']">
|
|
|
|
<xsl:text>xml2</xsl:text>
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
</xsl:stylesheet>
|