Re: Track in pg_replication_slots the reason why slots conflict?
shveta malik <shveta.malik@gmail.com>
From: shveta malik <shveta.malik@gmail.com>
To: Michael Paquier <michael@paquier.xyz>,
Amit Kapila <amit.kapila16@gmail.com>
Cc: Isaac Morland <isaac.morland@gmail.com>,
Andres Freund <andres@anarazel.de>, Postgres hackers <pgsql-hackers@lists.postgresql.org>, Bertrand Drouvot <bertranddrouvot.pg@gmail.com>,
shveta malik <shveta.malik@gmail.com>
Date: 2024-01-01T07:01:54Z
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
Attachments
- v3-0001-Track-conflicting_reason-in-pg_replication_slots.patch (application/octet-stream) patch v3-0001
On Mon, Jan 1, 2024 at 9:14 AM shveta malik <shveta.malik@gmail.com> wrote: > > On Fri, Dec 29, 2023 at 3:35 PM Michael Paquier <michael@paquier.xyz> wrote: > > > > On Fri, Dec 29, 2023 at 09:20:52AM +0530, Amit Kapila wrote: > > > Does anyone have a preference for a column name? The options on the > > > table are conflict_cause, conflicting_cause, conflict_reason. Any > > > others? I was checking docs for similar usage and found > > > "pg_event_trigger_table_rewrite_reason" function, so based on that we > > > can even go with conflict_reason. > > > > "conflict_reason" sounds like the natural choice here. > > Do we have more comments on the patch apart from column_name? > > thanks > Shveta PFA v3 after changing column name to 'conflict_reason' thanks Shveta