for PQsendPrepare
function to *return* a PGresult with more useful informations, instead
of just the result status.
Thanks Manlio Perillo
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Il 11/02/2013 22:39, Tom Lane ha scritto:
Manlio Perillo manlio.peri...@gmail.com writes:
What is the reason why PQsendPrepare function does not send a
Describe Portal message?
That would add a round trip, no?
Well, no.
An extra round trip
driver, implemented following
http://wiki.postgresql.org/wiki/Driver_development
and with many optimization (compared to psycopg2) enabled by the
use of the extended query protocol
Thanks Manlio Perillo
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Il 14/02/2013 14:06, Albe Laurenz ha scritto:
Manlio Perillo wrote:
Sorry for the question, but where can I find the libpq test suite?
I can not find it in the PostgreSQL sources; it seems that there are
only some examples, in src/test/examples
a CPython extension module
(since the purpose of writing yet another driver is to make it more
efficient than the current best driver).
I will also discuss about porting some of the features to psycopg2 (but
first I need to have a working driver).
Manlio Perillo wrote:
For my Python DBAPI2
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Il 14/02/2013 20:01, Peter Eisentraut ha scritto:
On 2/14/13 9:23 AM, Manlio Perillo wrote:
1) always use PQsendQueryParams functions.
This will avoid having to escape parameters, as it is done in
psycopg2
(IMHO it still use simple
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Il 15/02/2013 02:45, Andrew McNamara ha scritto:
For my Python DBAPI2 PostgreSQL driver I plan the following optimizations:
I suggest you have a look at my Python ocpgdb driver:
http://code.google.com/p/ocpgdb/
Thanks, I did not know it.
.
[...]
Regards Manlio Perillo
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAlGTq1sACgkQscQJ24LbaUQdogCeNd1Boj/w2UaQIvDuiSU41Lrn
UnoAn3vuehDS2+woqVyahwktm5sYCtGG
=mwuk
-END PGP SIGNATURE
.
Just to be pedantic, this is required by C99.
[...]
Regards Manlio Perillo
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers