[doc fix] Add operation of freeing output SQLDA

Поиск
Список
Период
Сортировка
От Kato, Sho
Тема [doc fix] Add operation of freeing output SQLDA
Дата
Msg-id 25C1C6B2E7BE044889E4FE8643A58BA963A42097@G01JPEXMBKW03
обсуждение исходный текст
Ответы Re: [doc fix] Add operation of freeing output SQLDA
Список pgsql-hackers
Hello

I think it is better to add freeing operation of output SQLDA to the current PostgreSQL documentation.
As far as I can see src/interfaces/ecpg/ecpglib/execute.c,
if a previously existing sqlda is set to output SQLDA, 
then a previously existing sqlda is freed.
But, the new output SQLDA's memory space remain.

ecpg regression test also free output SQLDA's memory space.
The attached patch fixes the documentation.

regards,
--
Kato Sho



Вложения

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

Предыдущее
От: Andrey Borodin
Дата:
Сообщение: Re: Postgres 11 release notes
Следующее
От: Paul Guo
Дата:
Сообщение: Re: [PATCH] Use access() to check file existence in GetNewRelFileNode().