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

Aleksander Alekseev <aleksander@tigerdata.com>

From: Aleksander Alekseev <aleksander@tigerdata.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-10-07T14:04:29Z
Lists: pgsql-hackers

Attachments

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

Commits

  1. ecpg: check return value of replace_variables()