postgresql/src/interfaces/ecpg
Daniel Gustafsson 0d82163958 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
2025-10-17 10:03:15 +02:00
..
compatlib Fix typo in comment. 2025-08-06 22:52:13 +09:00
ecpglib ecpg: check return value of replace_variables() 2025-10-17 10:03:15 +02:00
include Update copyright for 2025 2025-01-01 11:21:55 -05:00
pgtypeslib Revert "Tidy up locale thread safety in ECPG library." 2025-03-28 21:27:37 +01:00
preproc ecpg: Add missing newline in meson.build 2025-05-19 09:44:17 +09:00
test Silence -Wmissing-variable-declarations in headerscheck. 2025-08-29 10:46:13 -04:00
Makefile Remove distprep 2023-11-06 15:18:04 +01:00
meson.build Update copyright for 2025 2025-01-01 11:21:55 -05:00
README.dynSQL Fix whitespace issues found by git diff --check, add gitattributes 2013-11-10 14:48:29 -05:00

src/interfaces/ecpg/README.dynSQL

descriptor statements have the following shortcomings

- input descriptors (USING DESCRIPTOR <name>) are not supported

  Reason: to fully support dynamic SQL the frontend/backend communication
          should change to recognize input parameters.
          Since this is not likely to happen in the near future and you
          can cover the same functionality with the existing infrastructure
          (using s[n]printf), I'll leave the work to someone else.