Re: Incorrect CONTEXT reported for errors from parallel apply worker in logical replication

From: Takeshi Ideriha <iderihatakeshi(at)gmail(dot)com>
To: "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>, 'Zhijie Hou' <houzhijie22(at)gmail(dot)com>
Cc: vignesh C <vignesh21(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Incorrect CONTEXT reported for errors from parallel apply worker in logical replication
Date: 2026-10-14 07:32:31
Message-ID: 6e66023d-9c53-4029-b9f9-1c8e3f937a22@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi all

On 2026/10/09 11:34, Hayato Kuroda (Fujitsu) wrote:

> Indeed, PSA the new version.
> Also, I adjusted the order of the initialization of DecodingWorker to align with
> the location of attributes.
I don't have any objections to the fixes and am learning from the fixes.

But let me add two minor comments.
Do we plan to commit the test codes as well?
While I was running test codes, I noticed
src/test/subscription/meson.build lacks
't/039_streaming_parallel_apply_error_context.pl line. Without this
line, meson test don't execute this test.

> + 'enable_injection_points': 'yes',

The other minor thing is, I believe we can remove this line from
injection_points/meson.build since
the repack test code does not check this environment value and without
this I was able to execute this test. Moreover, the tests under
injection_points directory just finish if injection_points is not
configured according to meson.build.

Regards,
Takeshi Ideriha

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tender Wang 2026-10-14 07:34:52 Re: Assert failure in standard_join_search()
Previous Message Hayato Kuroda (Fujitsu) 2026-10-14 07:30:12 RE: Test publication.sql racing with subscription.sql might fail due to cache lookup error