Re: pgsql: pg_logicalinspect: Fix possible crash when passing a directory p

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: Masahiko Sawada <msawada(at)postgresql(dot)org>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: pg_logicalinspect: Fix possible crash when passing a directory p
Date: 2025-03-12 02:08:22
Message-ID: CAApHDvqrhFfnetbcwgGkJ=z63T8HfQ_OyP=vX8BYiXyxFKt67w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On Wed, 12 Mar 2025 at 05:57, Masahiko Sawada <msawada(at)postgresql(dot)org> wrote:
> contrib/pg_logicalinspect/pg_logicalinspect.c | 55 ++++++++++++---

This introduces a new compiler warning for compilers that don't know
the ereport(ERROR) does not return.

The attached is enough to fix it.

David

Attachment Content-Type Size
fix_parse_snapshot_filename_warning.patch application/octet-stream 457 bytes

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2025-03-12 03:36:03 pgsql: Doc: silence A4 PDF build warnings.
Previous Message Alexander Korotkov 2025-03-11 21:33:25 Re: pgsql: reindexdb: Add the index-level REINDEX with multiple jobs