Re: Parsing speed (was Re: pgstats_initstats() cost)

From: Joe Conway <mail(at)joeconway(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>, Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Parsing speed (was Re: pgstats_initstats() cost)
Date: 2003-08-12 22:17:08
Message-ID: 3F396764.2000000@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> A Bind/Execute facility would need a pair of routines with signatures
> very similar to PQexecParams/PQsendQueryParams --- they'd take a
> prepared statement name instead of a query string, and they'd not need
> an array of parameter type OIDs, but otherwise the same. I couldn't
> come up with very good names for them though. Best idea so far is
> PQexecPrepared/PQsendQueryPrepared, but maybe someone has a better one?

Those sound reasonable to me.

> We could also think about providing an interface to do just Parse,
> although this is inessential since you can set up a prepared statement
> by PQexec'ing a PREPARE command.
>

Agreed -- that sounds like a nice-to-have for some future release, but
not enough of an issue to warrant getting put into 7.4 at this point.

Joe

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 2003-08-12 22:18:00 Re: Proper Unicode support
Previous Message Bruce Momjian 2003-08-12 22:04:25 Re: reuse sysids security hole?