[doc fix] Add operation of freeing output SQLDA

From: "Kato, Sho" <kato-sho(at)jp(dot)fujitsu(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: [doc fix] Add operation of freeing output SQLDA
Date: 2018-05-18 06:03:59
Message-ID: 25C1C6B2E7BE044889E4FE8643A58BA963A42097@G01JPEXMBKW03
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
sqlda_doc.patch application/octet-stream 1.4 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Paul Guo 2018-05-18 06:42:08 Re: [PATCH] Use access() to check file existence in GetNewRelFileNode().
Previous Message Andrey Borodin 2018-05-18 05:56:25 Re: Postgres 11 release notes