pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Meskes <meskes@postgresql.org>
To: pgsql-interfaces@postgresql.org
Subject: Re: [INTERFACES] libpq patch for binding tuples in a result set to user allocated memory
Date: Mon, 14 Feb 2000 21:44:05 +0100
Message-ID: <20000214214405.A1104@fam-meskes.de> (raw)
In-Reply-To: <18990.950543823@sss.pgh.pa.us>
References: <20000214095958.C8823@support.ddiworld.com>
	<18990.950543823@sss.pgh.pa.us>

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@Fam-Meskes.De           | Use PostgreSQL!



view thread (5+ messages)  latest in thread

Message-ID: <20000214214405.A1104@fam-meskes.de>
Permalink:  ../20000214214405.A1104@fam-meskes.de/
Also on:    postgresql.org/message-id/20000214214405.A1104@fam-meskes.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: meskes@postgresql.org
  Subject: Re: [INTERFACES] libpq patch for binding tuples in a result set to user allocated memory
  In-Reply-To: <20000214214405.A1104@fam-meskes.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox