RE: pg_recvlogical requires -d but not described on the documentation

Hayato Kuroda (Fujitsu) <kuroda.hayato@fujitsu.com>

From: "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
To: 'Ashutosh Bapat' <ashutosh.bapat.oss@gmail.com>
Cc: "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>
Date: 2025-02-25T02:53:12Z
Lists: pgsql-hackers
Dear Ashutosh,

Thanks for the confirmation!

> This looks good to me. It builds with meson. Didn't check make.

I confirmed it could be built via make command.

> > Hmm, unify the treatment seems clean, but it may break current connection
> rules
> > for some application. I'm not sure now this is helpful for users.
> 
> Hmm. I agree.

OK, so I will exclude the point in the thread. The patch I've posted contains all of fixes
which is required.

Best regards,
Hayato Kuroda
FUJITSU LIMITED

Commits

  1. Allow pg_recvlogical --drop-slot to work without --dbname.

  2. doc: Clarify required options for each action in pg_recvlogical.

  3. Refactor replication connection code of various pg_basebackup utilities.