From: | shveta malik <shveta(dot)malik(at)gmail(dot)com> |
---|---|
To: | pgsql-docs(at)lists(dot)postgresql(dot)org |
Cc: | "Zhijie Hou (Fujitsu)" <houzj(dot)fnst(at)fujitsu(dot)com>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, shveta malik <shveta(dot)malik(at)gmail(dot)com> |
Subject: | Re: Correction in doc of failover ready steps |
Date: | 2024-07-22 05:29:28 |
Message-ID: | CAJpy0uAKG3moYA0pwQoQ2sv1d-S0CmfXsZf_9C_83UqtREaj+w@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs |
On Mon, Jul 22, 2024 at 10:46 AM shveta malik <shveta(dot)malik(at)gmail(dot)com> wrote:
>
> Hi,
>
> We have a query in failover-ready doc referring to
> pg_subscription_rel. Unlike pg_subscription, pg_subscription_rel gives
> results only when connected to the database having the
> subscription(s). If we run the concerned query on any other database,
> it will give incomplete results i.e. it will give info on main slots
> leaving table sync slots (if any).
> Thus the failover-ready steps which queries pg_subscription_rel need
> to mention that the concerned query needs to be run on the database(s)
> that includes the failover enabled subscription(s). Corrected the doc
> for the same.
On rethinking, since pg_subscription query needs to be run only once
on *any* database to get combined results of all main slots while
pg_subscription_rel query needs to be run on each database having
concerned subscription (and table), does it makes sense to separate
the 2 queries instead of having UNION ? Thoughts?
thanks
Shveta
From | Date | Subject | |
---|---|---|---|
Next Message | 日向充 | 2024-07-22 06:33:44 | Re: A minor bug in the doc of "SQL Functions Returning Sets" in xfunc.sgml. |
Previous Message | shveta malik | 2024-07-22 05:16:53 | Correction in doc of failover ready steps |