Re: Track in pg_replication_slots the reason why slots conflict?
Amit Kapila <amit.kapila16@gmail.com>
From: Amit Kapila <amit.kapila16@gmail.com>
To: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Cc: Andres Freund <andres@anarazel.de>, shveta malik <shveta.malik@gmail.com>, Michael Paquier <michael@paquier.xyz>,
Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-12-26T03:14:44Z
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 →
-
Track conflict_reason in pg_replication_slots.
- 007693f2a3ac 17.0 landed
On Thu, Dec 21, 2023 at 8:21 PM Bertrand Drouvot <bertranddrouvot.pg@gmail.com> wrote: > > On Thu, Dec 21, 2023 at 07:55:51PM +0530, Amit Kapila wrote: > > On Thu, Dec 21, 2023 at 5:05 PM Andres Freund <andres@anarazel.de> wrote: > > > I'm not entirely sure I understand the difference - just whether we add one > > > new column or replace the existing 'conflicting' column? I can see arguments > > > for either. > > > > > > > Agreed. I think the argument against replacing the existing > > 'conflicting' column is that there is a chance that it is being used > > by some monitoring script which I guess shouldn't be a big deal to > > change. So, if we don't see that as a problem, I would prefer to have > > a single column with conflict reason where one of its values indicates > > there is no conflict. > > +1 > Does anyone else have a preference on whether to change the existing column or add a new one? -- With Regards, Amit Kapila.