mirror of
https://github.com/postgres/postgres.git
synced 2025-11-19 13:42:17 +03:00
Improve file header comments for astramer code.
Make it clear that "astreamer" stands for "archive streamer". Generalize comments that still believe this code can only be used by pg_basebackup. Add some comments explaining the asymmetry between the gzip, lz4, and zstd astreamers, in the hopes of making life easier for anyone who hacks on this code in the future. Robert Haas, reviewed by Amul Sul. Discussion: http://postgr.es/m/CAAJ_b97O2kkKVTWxt8MxDN1o-cDfbgokqtiN2yqFf48=gXpcxQ@mail.gmail.com
This commit is contained in:
@@ -2,6 +2,10 @@
|
||||
*
|
||||
* astreamer_zstd.c
|
||||
*
|
||||
* Archive streamers that deal with data compressed using zstd.
|
||||
* astreamer_zstd_compressor applies lz4 compression to the input stream,
|
||||
* and astreamer_zstd_decompressor does the reverse.
|
||||
*
|
||||
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
|
||||
*
|
||||
* IDENTIFICATION
|
||||
|
||||
Reference in New Issue
Block a user