Re: pg_combinebackup: correct code comment.
amul sul <sulamul@gmail.com>
From: Amul Sul <sulamul@gmail.com>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>,
Robert Haas <robertmhaas@gmail.com>
Date: 2025-04-15T10:41:19Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
pg_combinebackup: Fix incorrect code documentation
- fb9ec9cf7926 17.5 landed
- 7ae13170ba55 18.0 landed
On Tue, Apr 15, 2025 at 1:16 PM Daniel Gustafsson <daniel@yesql.se> wrote: > > > On 15 Apr 2025, at 06:22, Amul Sul <sulamul@gmail.com> wrote: > > > Attached is a patch that corrects the code comment for > > process_directory_recursively() in pg_combinebackup, where the comment > > incorrectly refers to "output_directory" instead of the intended > > "input_directory". > > Agreed. The second paragraph in the comment also seem a bit odd, how about the > below while we are there fixing things? > > - * If processing is a user-defined tablespace, the tsoid should be the OID > + * If processing a user-defined tablespace, the tsoid should be the OID > +1 Regards, Amul