Re: Parsing speed (was Re: pgstats_initstats() cost) - Mailing list pgsql-hackers

From Alvaro Herrera Munoz
Subject Re: Parsing speed (was Re: pgstats_initstats() cost)
Date
Msg-id 20030812201022.GB16697@dcc.uchile.cl
Whole thread Raw
In response to Parsing speed (was Re: pgstats_initstats() cost)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, Aug 12, 2003 at 03:36:07PM -0400, Tom Lane wrote:

> This leaves us with a bit of a problem, though, because there isn't any
> libpq API that allows access to this speedup.  I put in a routine to
> support Parse/Bind/Execute so that people could use out-of-line
> parameters for safety reasons --- but there's no function to do
> Bind/Execute against a pre-existing prepared statement.  (I had to make
> a hacked version of libpq to do the above testing.)
> 
> I'm beginning to think that was a serious omission.  I'm tempted to fix
> it, even though we're past feature freeze for 7.4.  Comments?

Please do.  It could be argued that the feature is already there, and that
the fact that there's no way to use it through libpq is actually a bug.

-- 
Alvaro Herrera (<alvherre[@]dcc.uchile.cl>)
"Hay que recordar que la existencia en el cosmos, y particularmente la
elaboraci�n de civilizaciones dentre de �l no son, por desgracia,
nada id�licas" (Ijon Tichy)


pgsql-hackers by date:

Previous
From: Sean Chittenden
Date:
Subject: Re: Parsing speed (was Re: pgstats_initstats() cost)
Next
From: Alvaro Herrera Munoz
Date:
Subject: Re: reuse sysids security hole?