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

Re: [INTERFACES] libpq patch for binding tuples in a result set to user allocated memory

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: [INTERFACES] libpq patch for binding tuples in a result set to user allocated memory
Date: 2000-02-14 20:44:05
Message-ID: 20000214214405.A1104@fam-meskes.de (view raw or flat)
Thread:
Lists: pgsql-interfaces
On Mon, Feb 14, 2000 at 10:57:03AM -0500, Tom Lane wrote:
> > "libpq" like API's buffers to my memory locations) in my days working
> > with ODBC, Oracle & SQLServer's C-API, i created the following patch
> > which i thought i'd submit. I've included a README as well. 

Something like that is possible with ECPG. Just give use an arraypointer as
variable and set it to NULL. After fetching the date it contains the data,
the memory is allocated by libecpg. Not exactly what you are talking about
but similar.

Michael
-- 
Michael Meskes                         | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz    | Go Rhein Fire!
Tel.: (+49) 2431/72651                 | Use Debian GNU/Linux!
Email: Michael(at)Fam-Meskes(dot)De           | Use PostgreSQL!

In response to

pgsql-interfaces by date

Next:From: Joseph ShraibmanDate: 2000-02-14 21:45:45
Subject: DELETEs with jdbc
Previous:From: Joel ReedDate: 2000-02-14 16:05:32
Subject: Re: [INTERFACES] libpq patch for binding tuples in a result set to user allocated memory

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