agora inbox for [email protected]  
help / color / mirror / Atom feed
From: Andrew Chernow <[email protected]>
To: Alvaro Herrera <[email protected]>
Cc: Merlin Moncure <[email protected]>
Cc: Pg Hackers <[email protected]>
Subject: Re: libpq object hooks (libpq events)
Date: Wed, 03 Sep 2008 13:14:03 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>

Alvaro Herrera wrote:
> Andrew Chernow escribió:
>> Alvaro Herrera wrote:
> 
>>> (I also removed PQresultAlloc.)
>> Nooooooo ... removing PQresultAlloc breaks libpqtypes!  It also removes 
>> some of the use cases provided by PQsetvalue, which allows one to add to 
>> a result (in our case from scratch).
> 
> I don't really see the point -- it's the same as pqResultAlloc, except
> that you have to pass an extra argument.  There's no actual
> functionality loss.
> 

libpqtypes uses it.  libpqtypes doesn't have access to any internals of 
libpq, including pqResultAlloc.  So, I made a public wrapper to the 
internal version.  The point is to provide public access to the result 
allocator.

-- 
Andrew Chernow
eSilo, LLC
every bit counts
http://www.esilo.com/



view thread (63+ messages)  latest in thread

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: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: libpq object hooks (libpq events)
  In-Reply-To: <[email protected]>

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

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