Clarify libpq docs

From: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>
To: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Clarify libpq docs
Date: 2004-01-26 05:27:49
Message-ID: Pine.LNX.4.58.0401261623320.4192@linuxworld.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

The attached patch clarifies (or, rather, makes explicit) to readers how
to handle memory management for char pointers returned by libpq functions.
Although the sections on PQfinish(), PQclear() and PQfreemem() give an
indication that all pointers returned by functions point to memory
allocated in the underlying library, I thought it would be useful to make
this clear.

Gavin

Attachment Content-Type Size
libpq.sgml.patch text/plain 4.8 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Gavin Sherry 2004-01-26 07:54:35 Examples for PREPARE/EXECUTE docs
Previous Message Tom Lane 2004-01-26 00:10:51 Re: next draft of list rewrite