| From: | shveta malik <shveta(dot)malik(at)gmail(dot)com> |
|---|---|
| To: | Dilip Kumar <dilipbalaut(at)gmail(dot)com> |
| Cc: | Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Peter Smith <smithpb2250(at)gmail(dot)com>, vignesh C <vignesh21(at)gmail(dot)com>, Nisha Moond <nisha(dot)moond412(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>, shveta malik <shveta(dot)malik(at)gmail(dot)com> |
| Subject: | Re: Proposal: Conflict log history table for Logical Replication |
| Date: | 2026-07-03 07:21:31 |
| Message-ID: | CAJpy0uD8tWCTH73A6BfY5b_auALKSZ7tycOwBDw4MAMUBHxcFA@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Thu, Jul 2, 2026 at 3:33 PM shveta malik <shveta(dot)malik(at)gmail(dot)com> wrote:
>
> On Thu, Jul 2, 2026 at 1:39 PM Dilip Kumar <dilipbalaut(at)gmail(dot)com> wrote:
> >
> >
> > I rebased the remaining patches on top of HEAD. So far, I have run
> > pgindent and completed the doc merge for 0001. The 0002 and 0003 are
> > just rebased.
> >
>
I am focusing on 001 alone.
I was verifying conflict insertion for all conflict_types in regular
worker flow (not parallel), I have just one comment there:
For insert_exists conflict, both replica_identity (JSON) and
replica_identity_full (bool) are NULL. Is it conscious decision to
keep 'replica_identity_full' as NULL or shall we make this field as
'bool NOT NULL DEFAULT false'. As per doc at [1], NULL value for
boolean represents 'unknown'
If it is intentionaly kept NULL, do you think we should update below
doc to explain that it can be NULL for the cases where
replica_identity is not applicable.
replica_identity_full boolean I
indicates whether replica_identity represents a full tuple (true) or
key values of a replica identity index (false).
[1]: https://www.postgresql.org/docs/19/datatype-boolean.html
thanks
Shveta
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jim Jones | 2026-07-03 07:34:22 | Re: Truncate logs by max_log_size |
| Previous Message | wenhui qiu | 2026-07-03 07:06:25 | Re: Terminology: "temporary relation" vs "temporary table" in tablecmds.c |