postgresql/src/bin
Tom Lane cce939c71c Exit after fatal errors in client-side compression code.
It looks like whoever wrote the astreamer (nee bbstreamer) code
thought that pg_log_error() is equivalent to elog(ERROR), but
it's not; it just prints a message.  So all these places tried to
continue on after a compression or decompression error return,
with the inevitable result being garbage output and possibly
cascading error messages.  We should use pg_fatal() instead.

These error conditions are probably pretty unlikely in practice,
which no doubt accounts for the lack of field complaints.

Author: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Discussion: https://postgr.es/m/1531718.1772644615@sss.pgh.pa.us
Backpatch-through: 15
2026-03-05 14:43:21 -05:00
..
initdb Translation updates 2026-02-08 15:11:02 +01:00
pg_amcheck Translation updates 2026-02-08 15:11:02 +01:00
pg_archivecleanup Translation updates 2026-02-08 15:11:02 +01:00
pg_basebackup Exit after fatal errors in client-side compression code. 2026-03-05 14:43:21 -05:00
pg_checksums Translation updates 2026-02-08 15:11:02 +01:00
pg_config Translation updates 2026-02-08 15:11:02 +01:00
pg_controldata Translation updates 2026-02-08 15:11:02 +01:00
pg_ctl Translation updates 2026-02-08 15:11:02 +01:00
pg_dump Exit after fatal errors in client-side compression code. 2026-03-05 14:43:21 -05:00
pg_resetwal Translation updates 2026-02-23 14:02:22 +01:00
pg_rewind Translation updates 2026-02-23 14:02:22 +01:00
pg_test_fsync Translation updates 2026-02-08 15:11:02 +01:00
pg_test_timing Translation updates 2026-02-08 15:11:02 +01:00
pg_upgrade pg_upgrade: Use max_protocol_version=3.0 for older servers 2026-02-24 14:01:51 -08:00
pg_verifybackup Translation updates 2026-02-08 15:11:02 +01:00
pg_waldump Fix some cases of indirectly casting away const. 2026-02-25 11:19:50 -05:00
pgbench Fix some cases of indirectly casting away const. 2026-02-25 11:19:50 -05:00
pgevent meson: Build pgevent as shared_module rather than shared_library 2024-11-26 18:09:23 +01:00
psql Translation updates 2026-02-23 14:02:22 +01:00
scripts Translation updates 2026-02-08 15:11:02 +01:00
Makefile Update copyright for 2023 2023-01-02 15:00:37 -05:00
meson.build Update copyright for 2023 2023-01-02 15:00:37 -05:00