postgresql/src/bin/pg_basebackup
Peter Eisentraut 67c0ef9752 Improve const use in zlib-using code
If we define ZLIB_CONST before including zlib.h, zlib augments some
interfaces with const decorations.  By doing that we can keep our own
interfaces cleaner and can remove some unconstify calls.

ZLIB_CONST was introduced in zlib 1.2.5.2 (17 Dec 2011).  When
compiling with older zlib releases, you might now get compiler
warnings about discarding qualifiers.

CentOS 6 has zlib 1.2.3, but in 8e278b6576, we removed support for the
OpenSSL release in CentOS 6, so it seems ok to de-support the zlib
release in CentOS 6 as well.

Reviewed-by: Tristan Partin <tristan@neon.tech>
Discussion: https://www.postgresql.org/message-id/flat/33462926-bb1e-7cc9-8d92-d86318e8ed1d%40eisentraut.org
2023-08-07 09:34:38 +02:00
..
po Translation updates 2023-05-22 12:44:31 +02:00
t Fix tmpdir issues with commit e213de8e78 2023-07-08 12:34:25 -04:00
.gitignore Rename user-facing tools with "xlog" in the name to say "wal". 2017-02-09 16:23:46 -05:00
Makefile Update copyright for 2023 2023-01-02 15:00:37 -05:00
bbstreamer.h Fix some typos and some incorrectly duplicated words 2023-04-18 14:03:49 +12:00
bbstreamer_file.c Fix pg_basebackup with in-place tablespaces some more. 2023-04-18 11:23:34 -04:00
bbstreamer_gzip.c Improve const use in zlib-using code 2023-08-07 09:34:38 +02:00
bbstreamer_inject.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
bbstreamer_lz4.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
bbstreamer_tar.c Add and use symbolic constants for tar header offsets and file types. 2023-08-01 13:50:42 -04:00
bbstreamer_zstd.c Message style improvements 2023-05-19 18:45:29 +02:00
meson.build Add missing pg_basebackup TAP test for meson. 2023-06-16 10:32:49 +09:00
nls.mk pg_basebackup: Restore lost translation markers 2023-05-08 06:15:26 +02:00
pg_basebackup.c Pre-beta mechanical code beautification. 2023-05-19 17:24:48 -04:00
pg_receivewal.c Pre-beta mechanical code beautification. 2023-05-19 17:24:48 -04:00
pg_recvlogical.c Fix pg_recvlogical upon signal termination 2023-07-20 10:22:46 +09:00
receivelog.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
receivelog.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
streamutil.c pg_basebackup: Correct type of WalSegSz 2023-04-03 07:21:06 +02:00
streamutil.h pg_basebackup: Correct type of WalSegSz 2023-04-03 07:21:06 +02:00
walmethods.c Improve const use in zlib-using code 2023-08-07 09:34:38 +02:00
walmethods.h Pre-beta mechanical code beautification. 2023-05-19 17:24:48 -04:00