mirror of
https://github.com/postgres/postgres.git
synced 2026-02-17 01:31:07 -05:00
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
|
||
|---|---|---|
| .. | ||
| compatlib | ||
| ecpglib | ||
| include | ||
| pgtypeslib | ||
| preproc | ||
| test | ||
| Makefile | ||
| meson.build | ||
| README.dynSQL | ||
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.