| From: | Dilip Kumar <dilipbalaut(at)gmail(dot)com> |
|---|---|
| To: | vignesh C <vignesh21(at)gmail(dot)com> |
| Cc: | Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, shveta malik <shveta(dot)malik(at)gmail(dot)com>, Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>, Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: Proposal: Conflict log history table for Logical Replication |
| Date: | 2025-12-22 10:31:11 |
| Message-ID: | CAFiTN-uKn7mix8BkOOmJQ2cF5yKdfQUg2mX_w9vEC4787VZ_xQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Sat, Dec 20, 2025 at 4:50 PM Dilip Kumar <dilipbalaut(at)gmail(dot)com> wrote:
>
> On Sat, Dec 20, 2025 at 3:17 PM vignesh C <vignesh21(at)gmail(dot)com> wrote:
> I have updated the patch and here are changes done
> 1. Splitted into 2 patches, 0001- for catalog related changes
> 0002-inserting conflict into the conflict table, Vignesh need to
> rebase the dump and upgrade related patch on this latest changes
> 2. Subscription option changed to conflict_log_destination=(log/table/all/'')
> 3. For internal processing we will use ConflictLogDest enum whereas
> for taking input or storing into catalog we will use string [1].
> 4. As suggested by Sawada San, if conflict_log_destination is 'table'
> we log the information about conflict but don't log the tuple
> details[3]
>
> Pending:
> 1. tap test for conflict insertion
Done in V15
> 2. Still need to work on caching related changes discussed at [2], so
> currently we don't allow conflict log tables to be added to
> publication at all and might change this behavior as discussed at [2]
> and for that we will need to implement the caching.
Pending
> 3. Need to add conflict insertion test and doc changes.
Done
> 4. Still need to check on the latest comments from Peter Smith.
Done
While planning to send the patch, I have noticed some latest comments
from Shveta and Vignesh, so I will analyze those in the next version.
V15-0004 is Vignesh's patch which is attached as it is and I am going
to review that soon.
--
Regards,
Dilip Kumar
Google
| Attachment | Content-Type | Size |
|---|---|---|
| v15-0004-Add-shared-index-for-conflict-log-table-lookup.patch | application/octet-stream | 13.3 KB |
| v15-0002-Implement-the-conflict-insertion-infrastructure-.patch | application/octet-stream | 34.3 KB |
| v15-0003-Doccumentation-patch.patch | application/octet-stream | 11.3 KB |
| v15-0001-Add-configurable-conflict-log-table-for-Logical-.patch | application/octet-stream | 97.9 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | shveta malik | 2025-12-22 10:34:05 | Re: Proposal: Conflict log history table for Logical Replication |
| Previous Message | vignesh C | 2025-12-22 10:24:57 | Re: Proposal: Conflict log history table for Logical Replication |