postgresql/src/bin
Daniel Gustafsson 29f0052380 Skip .DS_Store files in server side utils
The macOS Finder application creates .DS_Store files in directories
when opened,  which creates problems for serverside utilities which
expect all files to be PostgreSQL specific files.  Skip these files
when encountered in pg_checksums, pg_rewind and pg_basebackup.

This was extracted from a larger patchset for skipping hidden files
and system files, where the concencus was to just skip these. Since
this is equally likely to happen in every version, backpatch to all
supported versions.

Reported-by: Mark Guertin <markguertin@gmail.com>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Reviewed-by: Tobias Bussmann <t.bussmann@gmx.net>
Discussion: https://postgr.es/m/E258CE50-AB0E-455D-8AAD-BB4FE8F882FB@gmail.com
Backpatch-through: v12
2024-02-13 13:47:12 +01:00
..
initdb Translation updates 2023-11-06 13:16:22 +01:00
pg_amcheck Handle DROP DATABASE getting interrupted 2023-07-13 13:04:45 -07:00
pg_archivecleanup Translation updates 2023-05-08 14:29:57 +02:00
pg_basebackup Skip .DS_Store files in server side utils 2024-02-13 13:47:12 +01:00
pg_checksums Skip .DS_Store files in server side utils 2024-02-13 13:47:12 +01:00
pg_config Translation updates 2023-11-06 13:16:22 +01:00
pg_controldata Translation updates 2023-11-06 13:16:22 +01:00
pg_ctl pg_ctl: Disable autoruns for cmd.exe on Windows 2024-01-12 13:53:10 +09:00
pg_dump Translation updates 2024-02-05 14:47:58 +01:00
pg_resetwal Translation updates 2023-11-06 13:16:22 +01:00
pg_rewind Skip .DS_Store files in server side utils 2024-02-13 13:47:12 +01:00
pg_test_fsync Translation updates 2023-05-08 14:29:57 +02:00
pg_test_timing Translation updates 2023-05-08 14:29:57 +02:00
pg_upgrade Translation updates 2024-02-05 14:47:58 +01:00
pg_verifybackup Translation updates 2023-11-06 13:16:22 +01:00
pg_waldump Translation updates 2024-02-05 14:47:58 +01:00
pgbench Abort pgbench if script end is reached with an open pipeline 2024-01-22 17:48:30 +01:00
pgevent Update copyright for 2022 2022-01-07 19:04:57 -05:00
psql Translation updates 2024-02-05 14:47:58 +01:00
scripts Translation updates 2024-02-05 14:47:58 +01:00
Makefile Update copyright for 2022 2022-01-07 19:04:57 -05:00