[doc fix] Add operation of freeing output SQLDA - Mailing list pgsql-hackers

From Kato, Sho
Subject [doc fix] Add operation of freeing output SQLDA
Date
Msg-id 25C1C6B2E7BE044889E4FE8643A58BA963A42097@G01JPEXMBKW03
Whole thread Raw
Responses Re: [doc fix] Add operation of freeing output SQLDA  (Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>)
List 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



Attachment

pgsql-hackers by date:

Previous
From: Andrey Borodin
Date:
Subject: Re: Postgres 11 release notes
Next
From: Paul Guo
Date:
Subject: Re: [PATCH] Use access() to check file existence in GetNewRelFileNode().