On Thursday, November 21, 2002, at 01:44 AM, Tim Bunce wrote:
> MD5 is pretty quick and the base64 result string is short.
Yeah, although then I'd have to hunt up and learn that C API, and then
make sure that it's available on all platforms.
> But if prepared_statement_name's are local to the session then
> you could just use a sequential integer. When a statement handle
> is destroyed then you can tell the server to discard the statement.
Ah, yes, *much* better idea -- thanks!
> You could also let the application specify a name:
>
> $dbh->prepare("...", { pg_sth_name => "..." });
Sounds like a good feature to add later.
Thanks Tim.
David
--
David Wheeler AIM: dwTheory
david@wheeler.net ICQ: 15726394
http://david.wheeler.net/ Yahoo!: dew7e Jabber:
Theory@jabber.org