Re: Conflict Detection and Resolution

From: Nisha Moond <nisha(dot)moond412(at)gmail(dot)com>
To: shveta malik <shveta(dot)malik(at)gmail(dot)com>
Cc: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Dilip Kumar <dilipbalaut(at)gmail(dot)com>, Ajin Cherian <itsajin(at)gmail(dot)com>, Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>, Jan Wieck <jan(at)wi3ck(dot)info>, Tomas Vondra <tomas(dot)vondra(at)enterprisedb(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, "Zhijie Hou (Fujitsu)" <houzj(dot)fnst(at)fujitsu(dot)com>
Subject: Re: Conflict Detection and Resolution
Date: 2024-08-27 08:21:42
Message-ID: CABdArM5UJeO3w22O6eNXnsEddLpQVOVaJ+g9X7G2upL3sU8zzg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Please find v10 patch-set. Changes are:

1) patch-001:
- Corrected a patch application warning.
- Added support for pg_dump.
- As suggested in pt.4 of [1]: added a warning during CREATE and
ALTER subscription when track_commit_timestamp is OFF.

2) patch-002 & patch-003:
- Reduced code duplication in execReplication.c
- As suggested in pt.4 of [2]: Optimized the pre-scan for
insert_exists and update_exists cases when resolver is set to ERROR.
- Fixed a bug reported by Shveta in [3]

Thank You Ajin for working on pg_dump support changes.

[1] https://www.postgresql.org/message-id/CAJpy0uA0J8kz2DKU0xbUkUT%3Drtt%3DCenpzmUMgYcwms9%2BzgCuvA%40mail.gmail.com
[2] https://www.postgresql.org/message-id/CAJpy0uBrXZE6LLofX5tc8WOm5F%2BFNgnQjRLQerOY8cOqqvtrNg%40mail.gmail.com
[3] https://www.postgresql.org/message-id/CAJpy0uCtYweJHwuYdgGWR7iSDUKjqDtA7yoLe%2BXMWqWnmQhj8g%40mail.gmail.com

Thanks,
Nisha

Attachment Content-Type Size
v10-0001-Add-CONFLICT-RESOLVERS-into-the-syntax-for-CREAT.patch application/octet-stream 54.0 KB
v10-0002-Conflict-resolvers-for-insert-update-and-delete.patch application/octet-stream 59.5 KB
v10-0003-Conflict-resolution-for-update_exists-conflict-t.patch application/octet-stream 15.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nisha Moond 2024-08-27 08:26:53 Re: Conflict Detection and Resolution
Previous Message Peter Eisentraut 2024-08-27 08:12:24 Re: Convert sepgsql tests to TAP