diff options
author | Daniel Gustafsson <dgustafsson@postgresql.org> | 2025-10-17 10:03:15 +0200 |
---|---|---|
committer | Daniel Gustafsson <dgustafsson@postgresql.org> | 2025-10-17 10:03:15 +0200 |
commit | 0d82163958005b2ba56f8c58311888d142fa4509 (patch) | |
tree | dc35ba832acd331e2c0f188f4ee666db0b71cd1a /src/backend/utils/misc/guc.c | |
parent | 6aa184c80f0cb0e20572441e0189567ed5176e1d (diff) |
ecpg: check return value of replace_variables()
The function returns false if it fails to allocate memory, so
make sure to check the return value in callsites.
Author: Aleksander Alekseev <aleksander@tigerdata.com>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/CAJ7c6TNPrU8ZxgdfN3PyGY1tzo0bgszx+KkqW0Z7zt3heyC1GQ@mail.gmail.com
Diffstat (limited to 'src/backend/utils/misc/guc.c')
0 files changed, 0 insertions, 0 deletions