Re: DBD::PgSQL: More Queestions - Mailing list pgsql-interfaces

From David Wheeler
Subject Re: DBD::PgSQL: More Queestions
Date
Msg-id 1B6A56C1-FDB7-11D6-8943-0003931A964A@wheeler.net
Whole thread Raw
In response to DBD::PgSQL: More Queestions  (David Wheeler <david@wheeler.net>)
List pgsql-interfaces
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



pgsql-interfaces by date:

Previous
From: David Wheeler
Date:
Subject: Re: :PgSQL: More Queestions
Next
From: David Wheeler
Date:
Subject: Re: DBD::PgSQL: More Queestions