[PATCH] ecpg: check return value of replace_variables()

From: Aleksander Alekseev <aleksander(at)tigerdata(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: [PATCH] ecpg: check return value of replace_variables()
Date: 2025-10-07 14:04:29
Message-ID: CAJ7c6TNPrU8ZxgdfN3PyGY1tzo0bgszx+KkqW0Z7zt3heyC1GQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Currently in src/interfaces/ecpg/ecpglib/prepare.c we don't check the
return value of replace_variables(). The proposed patch fixes this.
The rest of the code looks OK to me.

--
Best regards,
Aleksander Alekseev

Attachment Content-Type Size
v1-0001-ecpg-check-return-value-of-replace_variables.patch text/x-patch 1.3 KB

Browse pgsql-hackers by date

  From Date Subject
Next Message Álvaro Herrera 2025-10-07 14:05:33 Re: Adding REPACK [concurrently]
Previous Message Viktor Holmberg 2025-10-07 13:55:49 Re: Allow ON CONFLICT DO UPDATE to return EXCLUDED values