postgresql/src/interfaces/ecpg
Michael Paquier 3151c264d4 ecpg: Fix memory leaks in ecpg_auto_prepare()
This routines includes three code paths that can fail, with the
allocated prepared statement name going out of scope.

Per report from Coverity.  Oversight in commit a6eabec680, that has
played with the order of some ecpg_strdup() calls in this code path.
2025-07-28 08:38:24 +09:00
..
compatlib Remove unnecessary (char *) casts [mem] 2025-02-12 08:50:13 +01:00
ecpglib ecpg: Fix memory leaks in ecpg_auto_prepare() 2025-07-28 08:38:24 +09: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 meson: Add pg_regress_ecpg to ecpg test dependencies 2025-02-04 17:56:19 -05: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.