Re: Add publisher and subscriber to glossary documentation. - Mailing list pgsql-hackers

From Euler Taveira
Subject Re: Add publisher and subscriber to glossary documentation.
Date
Msg-id dbdd5a52-948a-40b5-848f-e9e414cbdbf1@app.fastmail.com
Whole thread Raw
In response to Re: Add publisher and subscriber to glossary documentation.  (Amit Kapila <amit.kapila16@gmail.com>)
List pgsql-hackers
On Fri, Mar 15, 2024, at 1:14 AM, Amit Kapila wrote:
I think node should mean instance for both physical and logical
replication, otherwise, it would be confusing. We need both the usages
as a particular publication/subscription is defined at the database
level but the server on which we define those is referred to as a
node/instance.

If you are creating a subscription that connects to the same instance
(replication between 2 databases in the same cluster), your definition is not
correct and Alvaro's definition is accurate. The node definition is closely
linked to the connection string. While the physical replication does not
specify a database (meaning "any database" referring to an instance), the
logical replication requires a database.


--
Euler Taveira

pgsql-hackers by date:

Previous
From: Ajin Cherian
Date:
Subject: Re: Skip collecting decoded changes of already-aborted transactions
Next
From: shveta malik
Date:
Subject: Re: Introduce XID age and inactive timeout based replication slot invalidation