Clarify libpq docs - Mailing list pgsql-patches

From Gavin Sherry
Subject Clarify libpq docs
Date
Msg-id Pine.LNX.4.58.0401261623320.4192@linuxworld.com.au
Whole thread Raw
Responses Examples for PREPARE/EXECUTE docs  (Gavin Sherry <swm@linuxworld.com.au>)
Re: Clarify libpq docs  (Peter Eisentraut <peter_e@gmx.net>)
Re: Clarify libpq docs  (Neil Conway <neilc@samurai.com>)
List 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

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: next draft of list rewrite
Next
From: Gavin Sherry
Date:
Subject: Examples for PREPARE/EXECUTE docs