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: (view raw, whole thread or download thread mbox)
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.


Attachment: libpq.sgml.patch
Description: text/plain (4.8 KB)


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-2017 The PostgreSQL Global Development Group