pgsql: Fix more thinkos in new ECPG "PREPARE AS" code.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix more thinkos in new ECPG "PREPARE AS" code.
Дата
Msg-id E1hUuIx-0002RK-Tx@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/39fe881d3cf315d8d2ea9ee4ea1e3e39a82d5cc7

Modified Files
--------------
src/interfaces/ecpg/ecpglib/execute.c | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix thinko in new ECPG "PREPARE AS" code.
Следующее
От: Andres Freund
Дата:
Сообщение: Re: pgsql: tableam: introduce table AM infrastructure.