Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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: libpq.sgml.patch
Description: text/plain (4.8 KB)

Responses

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group