postgresql/src/bin/pg_basebackup
Daniel Gustafsson c1fc502f59 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
..
po Update copyright for 2024 2024-01-03 20:49:05 -05:00
t Skip .DS_Store files in server side utils 2024-02-13 13:47:12 +01: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 2024 2024-01-03 20:49:05 -05:00
bbstreamer.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
bbstreamer_file.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
bbstreamer_gzip.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
bbstreamer_inject.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
bbstreamer_lz4.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
bbstreamer_tar.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
bbstreamer_zstd.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
meson.build Update copyright for 2024 2024-01-03 20:49:05 -05:00
nls.mk pg_basebackup: Restore lost translation markers 2023-05-08 06:15:26 +02:00
pg_basebackup.c pg_basebackup: Fix check for MINIMUM_VERSION_FOR_WAL_SUMMARIES 2024-02-04 10:51:53 +09:00
pg_receivewal.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
pg_recvlogical.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
receivelog.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
receivelog.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
streamutil.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
streamutil.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
walmethods.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
walmethods.h Update copyright for 2024 2024-01-03 20:49:05 -05:00