Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit02a93e7

Browse files
committed
doc: Fix some gaps with the documentation related to LZ4
The upstream project is officially named "LZ4", and the documentationwas confused with the option value that can be used with DDLs supportingthis option, and the project name.Documentation related to the configure option --with-lz4 was missing, soadd something for that.Author: Dilip Kumar, Michael PaquierReviewed-by: Justin PryzbyDiscussion:https://postgr.es/m/YJaOZQDXBVySq+Cc@paquier.xyz
1 parent8dc3d68 commit02a93e7

File tree

3 files changed

+23
-4
lines changed

3 files changed

+23
-4
lines changed

‎doc/src/sgml/catalogs.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1363,7 +1363,7 @@
13631363
The current compression method of the column. If it is an invalid
13641364
compression method (<literal>'\0'</literal>) then column data will not
13651365
be compressed. Otherwise, <literal>'p'</literal> = pglz compression or
1366-
<literal>'l'</literal> =lz4 compression.
1366+
<literal>'l'</literal> =<productname>LZ4</productname> compression.
13671367
</para></entry>
13681368
</row>
13691369

‎doc/src/sgml/config.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8321,9 +8321,9 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
83218321
<command>CREATE TABLE</command> statement can override this default
83228322
by specifying the <literal>COMPRESSION</literal> column option.
83238323

8324-
The supported compression methods are <literal>pglz</literal> and
8325-
(ifconfigured at the time<productname>PostgreSQL</productname> was
8326-
built) <literal>lz4</literal>.
8324+
The supported compression methods are <literal>pglz</literal> and,
8325+
if <productname>PostgreSQL</productname> was compiled with
8326+
<literal>--with-lz4</literal>, <literal>lz4</literal>.
83278327
The default is <literal>pglz</literal>.
83288328
</para>
83298329
</listitem>

‎doc/src/sgml/installation.sgml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,14 @@ su - postgres
266266
</para>
267267
</listitem>
268268

269+
<listitem>
270+
<para>
271+
You need <productname>LZ4</productname>, if you want to support
272+
compression of data with this method; see
273+
<xref linkend="guc-default-toast-compression"/>.
274+
</para>
275+
</listitem>
276+
269277
<listitem>
270278
<para>
271279
To build the <productname>PostgreSQL</productname> documentation,
@@ -966,6 +974,17 @@ build-postgresql:
966974
</listitem>
967975
</varlistentry>
968976

977+
<varlistentry>
978+
<term><option>--with-lz4</option></term>
979+
<listitem>
980+
<para>
981+
Build with <productname>LZ4</productname> compression support.
982+
This allows the use of <productname>LZ4</productname> for
983+
compression of table data.
984+
</para>
985+
</listitem>
986+
</varlistentry>
987+
969988
<varlistentry>
970989
<term><option>--with-ssl=<replaceable>LIBRARY</replaceable></option>
971990
<indexterm>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp