Re: [PATCH] ecpg: fix missing NULL check in ecpg_store_input

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Gladyshev Ilya <ilya(dot)gladyshev(at)linux(dot)dev>
Cc: pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [PATCH] ecpg: fix missing NULL check in ecpg_store_input
Date: 2026-08-20 23:22:49
Message-ID: aoeMSY7NvWyxqAiw@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Aug 18, 2026 at 10:58:25AM +0000, Gladyshev Ilya wrote:
> This patch adds the NULL check, matching the surrounding code. This is
> unlikely to be hit in practice, so it's more of a hardening than
> a real fix.

Indeed, nice catch. I doubt that it's worth bothering outside of
HEAD for this class of failures due to the fact that they are unlikely
going to be hit in practice. Will do so.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2026-08-20 23:29:25 Re: [PATCH] Several refactorings for pg_dump
Previous Message Michael Paquier 2026-08-20 23:12:19 Re: test_aio: Fix broken error recovery assertions in 001_aio