Re: [HACKERS] Why the asprintf patch is still breaking the buildfarm

2013-10-22 Thread Manlio Perillo
. 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

Re: [HACKERS] Proposed TODO: add support for "any" for PL/PythonU and PL/Perl

2013-05-15 Thread Manlio Perillo
precise, Python is not a loosely typed language. It is a strongly typed dynamic language. > [...] Regards Manlio Perillo -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlGTq1sACgkQscQJ24LbaUQdogCeN

Re: [RFC] ideas for a new Python DBAPI driver (was Re: [HACKERS] libpq test suite)

2013-02-15 Thread Manlio Perillo
-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 kn

Re: [RFC] ideas for a new Python DBAPI driver (was Re: [HACKERS] libpq test suite)

2013-02-14 Thread Manlio Perillo
-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 >>psycop

Re: [RFC] ideas for a new Python DBAPI driver (was Re: [HACKERS] libpq test suite)

2013-02-14 Thread Manlio Perillo
prototype is ready, I will implement 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 Peril

[RFC] ideas for a new Python DBAPI driver (was Re: [HACKERS] libpq test suite)

2013-02-14 Thread Manlio Perillo
-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

[HACKERS] libpq test suite

2013-02-14 Thread Manlio Perillo
ew Python PostgreSQL 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/L

Re: [HACKERS] send Describe Portal message in PQsendPrepare

2013-02-12 Thread Manlio Perillo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 11/02/2013 22:39, Tom Lane ha scritto: > Manlio Perillo 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 rou

[HACKERS] send Describe Portal message in PQsendPrepare

2013-02-11 Thread Manlio Perillo
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