Re: [PATCHES] libpq type system 0.9a - Mailing list pgsql-hackers

From Andrew Chernow
Subject Re: [PATCHES] libpq type system 0.9a
Date
Msg-id 47FBBFA2.4000207@esilo.com
Whole thread Raw
In response to Re: [PATCHES] libpq type system 0.9a  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [PATCHES] libpq type system 0.9a  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> 
> Better support for arrays and composites is certainly something that
> people might want, but the problem with this design is that it forces
> them to buy into a number of other decisions that they don't necessarily
> want.
> 
> 
>             regards, tom lane
> 


What decisions are we forcing upon the libpq user?

Well, most of the functionality is handled by about 3 functions (putf, 
getf, and paramexec).  The difference is, our patch is not limited to 
only handling text arrays and composites.  It can do it all, which we 
thought would of been a requirement to get approved.

There is a performance boost to handling arrays and composites in 
binary, which we use a lot because there are no stored procedures (note, 
not trying to take a jab about stored procedures, just giving an example 
of how we use and abuse arrays and composites).

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


pgsql-hackers by date:

Previous
From: "Merlin Moncure"
Date:
Subject: Re: [PATCHES] libpq type system 0.9a
Next
From: Tom Lane
Date:
Subject: Re: [PATCHES] libpq type system 0.9a