Re: pg_basebackup: errors on macOS on directories with ".DS_Store" files - Mailing list pgsql-bugs

From Tobias Bussmann
Subject Re: pg_basebackup: errors on macOS on directories with ".DS_Store" files
Date
Msg-id 794684A8-D3FF-4109-815F-C9EB66AF65EA@gmx.net
Whole thread Raw
In response to pg_basebackup: errors on macOS on directories with ".DS_Store" files  (Mark Guertin <markguertin@gmail.com>)
Responses Re: pg_basebackup: errors on macOS on directories with ".DS_Store" files
List pgsql-bugs
> pg_basebackup: error: backup failed: ERROR:  invalid segment number 0 in file ".DS_Store"

This seem to be the same problem as already discussed in [1]: Tools like pg_basebackup and pg_checksums can get upset
ifthere are random extra files in $PGDATA/base, /global or /pg_tblspc. Unfortunately, macOS has the habit to create
suchfiles quite easily. If I read the outcome correctly, we are back at a blacklist approach, so adding ".DS_Store" may
besomething to consider.  

[1]: <https://www.postgresql.org/message-id/flat/20181021134206.GA14282%40paquier.xyz>




pgsql-bugs by date:

Previous
From: Alexander Korotkov
Date:
Subject: Re: BUG #17847: Unaligned memory access in ltree_gist
Next
From: Tom Lane
Date:
Subject: Re: pg_basebackup: errors on macOS on directories with ".DS_Store" files