Re: [PATCH] Report changes discarded for relations not in the subscription

From: Hüseyin Demir <huseyin(dot)d3r(at)gmail(dot)com>
To: Peter Smith <smithpb2250(at)gmail(dot)com>
Cc: "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>, pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [PATCH] Report changes discarded for relations not in the subscription
Date: 2026-12-02 06:25:12
Message-ID: CAB5wL7ZMgHFcgM1E7wSPc7OcL5u5gn9d0aBQ=VMp_HJLzpa07g@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

> Keeping the loop is fine; your reason makes sense.

Thanks.

> 1.
> But here are some minor nits.
> a/ The comment says "Each is large enough to be streamed..." -- each what?
> b/ That $i is not really needed, so I'd remove it.
> 2.
> Same nits for this fragment.
> a/ "Large enough" -- what is?
> b/ Has unnecessary i.

Both are fixed in the attached v6, using your suggested wording. The
loop is now "foreach (1 .. 3)", and both INSERTs use
"SELECT * FROM generate_series(1, 5000)". There are no other changes.

Regards,
Demir.

Attachment Content-Type Size
v6-0001-log-unapplied-changes-for-non-ready-relations.patch application/octet-stream 15.0 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Xuneng Zhou 2026-12-02 06:28:21 Re: [WIP] Pipelined Recovery
Previous Message Amit Langote 2026-12-02 06:22:13 Re: stale comment about locking in ExecInitModifyTable()