Fix more thinkos in new ECPG "PREPARE AS" code.
Tom Lane <tgl@sss.pgh.pa.us>
Fix more thinkos in new ECPG "PREPARE AS" code. ecpg_build_params() failed to check for ecpg_alloc failure in one newly-added code path, and leaked a temporary string in another path. Errors in commit a1dc6ab46, spotted by Coverity.
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/ecpg/ecpglib/execute.c | modified | +14 −4 |