Re: PGDOCS - Logical replication GUCs - added some xrefs

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: samay sharma <smilingsamay(at)gmail(dot)com>
Cc: Peter Smith <smithpb2250(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: PGDOCS - Logical replication GUCs - added some xrefs
Date: 2022-12-12 19:25:32
Message-ID: 20221212192532.h3o5srk6aky7v7ri@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2022-Dec-07, samay sharma wrote:

> On Tue, Dec 6, 2022 at 11:12 PM Peter Smith <smithpb2250(at)gmail(dot)com> wrote:

> > OK. I copied the tablesync note back to config.sgml definition of
> > 'max_replication_slots' and removed the link as suggested. Frankly, I
> > also thought it is a bit strange that the max_replication_slots in the
> > “Sending Servers” section was describing this parameter for
> > “Subscribers”. OTOH, I did not want to split the definition in half so
> > instead, I’ve added another Subscriber <varlistentry> that just refers
> > back to this place. It looks like an improvement to me.
>
> Hmm, I agree this is a tricky scenario. However, to me, it seems odd to
> mention the parameter twice as this chapter of the docs just lists each
> parameter and describes them. So, I'd probably remove the reference to it
> in the subscriber section. We should describe it's usage in different
> places in the logical replication part of the docs (as we do).

I agree this is tricky. However, because they essentially have
completely different behaviors on each side, and because we're
documenting each side separately, to me it makes more sense to document
each behavior separately, so I've split it. I also added mention at
each side that the other one exists. My rationale is that a user is
likely going to search for stuff to set on one side first, then for
stuff to set on the other side. So doing it this way maximizes
helpfulness (or so I hope anyway). I also added a separate index entry.

--
Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/
"I love the Postgres community. It's all about doing things _properly_. :-)"
(David Garamond)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ilya Gladyshev 2022-12-12 19:39:23 Re: Progress report of CREATE INDEX for nested partitioned tables
Previous Message Peter Eisentraut 2022-12-12 19:16:32 Re: BUG #17434: CREATE/DROP DATABASE can be executed in the same transaction with other commands