Re: DBD::PgSQL: More Queestions

Поиск
Список
Период
Сортировка
От David Wheeler
Тема Re: DBD::PgSQL: More Queestions
Дата
Msg-id 1B6A56C1-FDB7-11D6-8943-0003931A964A@wheeler.net
обсуждение исходный текст
Ответ на DBD::PgSQL: More Queestions  (David Wheeler <david@wheeler.net>)
Список 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 по дате отправления:

Предыдущее
От: David Wheeler
Дата:
Сообщение: Re: :PgSQL: More Queestions
Следующее
От: David Wheeler
Дата:
Сообщение: Re: DBD::PgSQL: More Queestions