Re: BUG #18828: Crash when pg_get_logical_snapshot_meta() passed empty string

From: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>
To: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, tharakan(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18828: Crash when pg_get_logical_snapshot_meta() passed empty string
Date: 2025-03-04 10:45:54
Message-ID: Z8bZ4iBWNoZT6l7T@ip-10-97-1-34.eu-west-3.compute.internal
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi,

On Tue, Mar 04, 2025 at 07:38:14AM +0000, Bertrand Drouvot wrote:
> PFA 0001 a new version to also parse the ".snap".

PFA v3 (a slightly different version) to "correctly" use the new report_error
introduced in v2.

Regards,

--
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com

Attachment Content-Type Size
v3-0001-Fix-bug-in-pg_logicalinspect-functions.patch text/x-diff 11.1 KB
v3-0002-Remove-obsolete-comment-in-SnapBuildRestoreSnapsh.patch text/x-diff 1.2 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tender Wang 2025-03-04 11:06:25 Re: BUG #18830: ExecInitMerge Segfault on MERGE
Previous Message Tender Wang 2025-03-04 10:27:57 Re: BUG #18830: ExecInitMerge Segfault on MERGE