Re: pg_basebackup: errors on macOS on directories with ".DS_Store" files
Tobias Bussmann <t.bussmann@gmx.net>
From: Tobias Bussmann <t.bussmann@gmx.net>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: Michael Paquier <michael@paquier.xyz>,
Tom Lane <tgl@sss.pgh.pa.us>,
Mark Guertin <markguertin@gmail.com>,
pgsql-bugs@lists.postgresql.org
Date: 2023-04-27T15:34:59Z
Lists: pgsql-bugs
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Skip .DS_Store files in server side utils
- d3fdfdcd1c7f 13.15 landed
- c1fc502f595b 17.0 landed
- aeee173d2292 14.12 landed
- 76bb6dd2e56c 12.19 landed
- 29f00523808a 15.7 landed
- 103235888d9e 16.3 landed
Attachments
- skip_hidden_files_v3.diff (application/octet-stream) patch v3
> Skipping hidden files in pg_rewind added as well as tests for all three > utilities and mentions of this in the docs. I'll park this in the next > commitfest for now. thanks for the update! I gave the v2 patch a quick review: * it applies and builds cleanly * the new TAP tests pass with the changes and fail without * in a real world test on macOS, the issue with the .DS_Store files on macOS is no longer showing with the patch and reproducible without * the documentation changes apply and are understandable. One thing seems to be missing, thus: in protocol-replication.html the change should be mentioned as well: > Various temporary files and directories created during the operation of the PostgreSQL server, such as any file or directory beginning with pgsql_tmp and temporary relations. In the attached v3 I propose the following change: - with <filename>pgsql_tmp</filename> and temporary relations. + with <filename>pgsql_tmp</filename>, hidden files and temporary relations. So beside the documentation detail, +1 from my side. Best, Tobias