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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-interfaces by date

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