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

Commit6095069

Browse files
committed
Improve wording in pg_dump compression docs
A couple minor corrections in pg_dump comments and docs, related to therecently introduced compression API.Reported-by: Justin PryzbyDiscussion:https://postgr.es/m/20230227044910.GO1653@telsasoft.com
1 parent34ce114 commit6095069

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

‎doc/src/sgml/ref/pg_dump.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ PostgreSQL documentation
331331
can read. A directory format archive can be manipulated with
332332
standard Unix tools; for example, files in an uncompressed archive
333333
can be compressed with the <application>gzip</application> or
334-
<application>lz4</application>tool.
334+
<application>lz4</application> tools.
335335
This format is compressed by default using <literal>gzip</literal>
336336
and also supports parallel dumps.
337337
</para>
@@ -654,8 +654,8 @@ PostgreSQL documentation
654654
<listitem>
655655
<para>
656656
Specify the compression method and/or the compression level to use.
657-
The compression method can be set to <literal>gzip</literal> or
658-
<literal>lz4</literal> or <literal>none</literal> for no compression.
657+
The compression method can be set to <literal>gzip</literal>,
658+
<literal>lz4</literal>, or <literal>none</literal> for no compression.
659659
A compression detail string can optionally be specified. If the
660660
detail string is an integer, it specifies the compression level.
661661
Otherwise, it should be a comma-separated list of items, each of the

‎src/bin/pg_dump/compress_io.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ struct CompressFileHandle
172172
externCompressFileHandle*InitCompressFileHandle(constpg_compress_specificationcompression_spec);
173173

174174
/*
175-
* Initialize a compress file stream.Deffer the compression algorithm
175+
* Initialize a compress file stream.Infer the compression algorithm
176176
* from 'path', either by examining its suffix or by appending the supported
177177
* suffixes in 'path'.
178178
*/

‎src/bin/pg_dump/compress_lz4.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ typedef struct LZ4File
161161
}LZ4File;
162162

163163
/*
164-
* LZ4 equivalent to feof() or gzeof().The end of fileisreached if there
165-
*is nodecompressed output in the overflow buffer and the end of the file
164+
* LZ4 equivalent to feof() or gzeof(). Return true iff thereisno
165+
* decompressed output in the overflow buffer and the end of the backing file
166166
* is reached.
167167
*/
168168
staticint

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp