Re: binary protocol, again
От | Daniele Varrazzo |
---|---|
Тема | Re: binary protocol, again |
Дата | |
Msg-id | CA+mi_8bZOH0bohoUNuz2VT2xhFuGgq26gi54_nC4sRaUczQ7pQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: binary protocol, again ("P. Christeas" <xrg@linux.gr>) |
Ответы |
Re: binary protocol, again
|
Список | psycopg |
On Fri, Jul 20, 2012 at 6:09 PM, P. Christeas <xrg@linux.gr> wrote: >> 3. using PQexecParams instead PQexec > Yes, when query is eligible. Uhm... what is an eligible query? Are you changing the behaviour of the current cursor class or introducing a new one? I'd go most definitely for the second, as I'm afraid the first would break a lot of the existing usage. In particular, what I'd like to see is a protocol ISQLParam, to live together with the current ISQLQuote, in order to create a clear distinction between the capabilities of the two cursors and avoid bloating the current adapters interface. As a reference, here is the original message of mine, highlighting some of the features we may get by splitting the two protocols: <http://archives.postgresql.org/psycopg/2011-02/msg00076.php>. Cheers, -- Daniele
В списке psycopg по дате отправления: