doc: Fix some gaps with the documentation related to LZ4
authorMichael Paquier
Mon, 10 May 2021 00:30:35 +0000 (09:30 +0900)
committerMichael Paquier
Mon, 10 May 2021 00:32:56 +0000 (09:32 +0900)
The upstream project is officially named "LZ4", and the documentation
was confused with the option value that can be used with DDLs supporting
this option, and the project name.

Documentation related to the configure option --with-lz4 was missing, so
add something for that.

Author: Dilip Kumar, Michael Paquier
Reviewed-by: Justin Pryzby
Discussion: https://postgr.es/m/[email protected]

doc/src/sgml/catalogs.sgml
doc/src/sgml/config.sgml
doc/src/sgml/installation.sgml

index 29ee9605b61dc0cf50a51ce587de4de8d0fe60d2..6d06ad22b92b4cd583b4feff39adc8597700c75a 100644 (file)
        The current compression method of the column.  If it is an invalid
        compression method ('\0') then column data will not
        be compressed.  Otherwise, 'p' = pglz compression or
-       'l' = lz4 compression.
+       'l' = LZ4 compression.
       
      
 
index a71c8821f6a80a2f5810b3c8289cfe712d17b9e9..f129a87501420e883c4b4bc284cc9a13a775f443 100644 (file)
@@ -8321,9 +8321,9 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
         CREATE TABLE statement can override this default
         by specifying the COMPRESSION column option.
 
-        The supported compression methods are pglz and
-        (if configured at the time PostgreSQL was
-        built) lz4.
+        The supported compression methods are pglz and,
+        if PostgreSQL was compiled with
+        --with-lz4, lz4.
         The default is pglz.
        
       
index 50d9fa2021511fe9f7cfcaede8d997b9ab904fc7..3c0aa118c76bfa8ed473a7cc1ad02eabc0e0e7bb 100644 (file)
@@ -266,6 +266,14 @@ su - postgres
      
     
 
+    
+     
+      You need LZ4, if you want to support
+      compression of data with this method; see
+      .
+     
+    
+
     
      
       To build the PostgreSQL documentation,
@@ -966,6 +974,17 @@ build-postgresql:
        
       
 
+      
+       
+       
+        
+         Build with LZ4 compression support.
+         This allows the use of LZ4 for
+         compression of table data.
+        
+       
+      
+