Re: binary protocol, again
От | P. Christeas |
---|---|
Тема | Re: binary protocol, again |
Дата | |
Msg-id | 201207211434.23200.xrg@linux.gr обсуждение исходный текст |
Ответ на | Re: binary protocol, again (Daniele Varrazzo <daniele.varrazzo@gmail.com>) |
Список | psycopg |
On Saturday 21 July 2012, Daniele Varrazzo wrote: > Why > doesn't the cursor_bin (as you call it) always use only PQexecParams > and the ISQLParam protocol for adaptation? > What is a case in which people would want to use the same cursor for > the two param styles? > > No automatic switch between the two:... In my case, I want an improved cursor, one that will simply be able to be "switched on" on existing applications. It is optional anyway and may be marked 'experimental' until its functionality is almost identical to the existing text cursors. Using different classes, different adapters and in-transaction decisions (based on the detected psycopg2 version, too) inside the applications is IMHO much more messy (and expensive) than doing an automatic failover in the C library. -- Say NO to spam and viruses. Stop using Microsoft Windows!
В списке psycopg по дате отправления: