Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gGsiw-0000UJ-UJ for psycopg@arkaria.postgresql.org; Sun, 28 Oct 2018 21:35:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gGsit-0002GO-Jy for psycopg@arkaria.postgresql.org; Sun, 28 Oct 2018 21:35:51 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gGsit-0002GH-1a for psycopg@lists.postgresql.org; Sun, 28 Oct 2018 21:35:51 +0000 Received: from sonic305-21.consmr.mail.ir2.yahoo.com ([77.238.177.83]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gGsip-0006OF-Kz for psycopg@lists.postgresql.org; Sun, 28 Oct 2018 21:35:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1540762544; bh=NMIQPPzS4r/FF1vFjpb0k1ccL0YpR3klMx+21GFcHFw=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=albpoWGey+odvM+z9mINuezqzuCeRoxwEXGVs9+1Wzf5anakRFVnwe2FB7ukkZULY8rAAj1FkBM9X0+IXT5EfgoxmT3mRjofHOSDYcPz19ESfKpcQED1YvKcCA6OpZZjUo6mDJ0uaD/dLeo83Dp/s3+JbUM5qpmP62KWuv4lJ2EUVoAUjKJK2cWmv4Ug0sb/u3g69MWWjQZS81/Veyp4Jr/RTOYC8BY4y/yIhNFpfkIb6dJIywatnlut16oP4kP7bQEsdrLg2kfi1VWefkb3A8etxreknyIWQjQroHo+tOubq5Jf58rKPpuir8unH77G0dG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Frt9Hr3PnvJ4 NmAiE10haivP9U23gEPsl3IQ- Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ir2.yahoo.com with HTTP; Sun, 28 Oct 2018 21:35:44 +0000 Date: Sun, 28 Oct 2018 21:35:41 +0000 (UTC) From: Christian Ferrari Reply-To: Christian Ferrari To: psycopg@lists.postgresql.org Message-ID: <1390677301.27162879.1540762541620@mail.yahoo.com> In-Reply-To: <1820701010.20861820.1540152265403@mail.yahoo.com> References: <1878453370.14916776.1539604797985@mail.yahoo.com> <62b46b76-ce7f-6b89-b5ad-d0f2c2533432@dndg.it> <1820701010.20861820.1540152265403@mail.yahoo.com> Subject: Re: Feature branches merged to master for 2.8 release MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_27162878_374768405.1540762541618" X-Mailer: WebService/1.1.12512 YMailNorrin Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0 Content-Length: 6533 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_27162878_374768405.1540762541618 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Dear All,today I have released LIXA 1.7.1 with Python/Psycopg2 support.To avoid two different methods (get_native_connection() for PostgreSQL and _get_native_connection() for MySQL/MariaDB) I have created a fork of Psycopg2 https://github.com/tiian/psycopg2/tree/get-native-connection with the code provided by Federico and method "get_native_connection" renamed.For the sake of convenience I have created a pull request: https://github.com/psycopg/psycopg2/pull/798 feel free to integrate it or to go on with the process you figured out in the past.Kind RegardsCh.F. ------------------------------------------------------------- Good design can't stop bad implementation Il domenica 21 ottobre 2018, 22:05:14 CEST, Christian Ferrari ha scritto: > Yes, I'll merge that tomorrow (no time today). I was for a name without > the underscore but the MySQL guy has a point where he says that the > client code should be warned that the driver can't guarantee API > stability in this case (what if PGconn changes?). So, maybe > `_get_native_connection()` is OK. > federico Dear Federico,mysqlclient-python accepted the pull requesthttps://github.com/PyMySQL/mysqlclient-python/commit/54c69436f45f2c78b3ace754780a1a265e60d430and the final method name for MySQLdb connection is "_get_native_connection()" I'm ready to release LIXA 1.7.1 with XTA support for Python2/3 and PostgreSQL/MySQL/MariaDB, but currently I still have all the examples with"get_native_connection()" for PostgreSQLand"_get_native_connection()" for MySQL/MariaDB Do you mind if I fork the master branch of Psycopg2 and apply your changes? I would like to avoid a release with inconsistent method name that should be fixed as soon as Psycopg2 2.8 will be available. Kind RegardsCh.F. ------=_Part_27162878_374768405.1540762541618 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Dear All,
today I have released LIXA 1.7.1 with Pyth= on/Psycopg2 support.
To avoid two different methods (get_native_c= onnection() for PostgreSQL and _get_native_connection() for MySQL/MariaDB) = I have created a fork of Psycopg2 https://= github.com/tiian/psycopg2/tree/get-native-connection with the code prov= ided by Federico and method "get_native_connection" renamed.
For = the sake of convenience I have created a pull request: htt= ps://github.com/psycopg/psycopg2/pull/798 feel free to integrate it or = to go on with the process you figured out in the past.
Kind Regar= ds
Ch.F.

-------------------------------------------------------------
Good design can't stop bad implementation
<= /span>


=20
=20
Il domenica 21 ottobre 2018, 22:05:14 CEST, Christian F= errari <camauz@yahoo.com> ha scritto:



> Yes, I'll merge that tomorrow (no time tod= ay). I was for a name without
> the underscore but th= e MySQL guy has a point where he says that the
> clie= nt code should be warned that the driver can't guarantee API
> stability in this case (what if PGconn changes?). So, maybe
> `_get_native_connection()` is OK.

> federico

D= ear Federico,
mysqlclient-python accepted the pull request
<= div>https://github.com/PyMySQL/mysqlclient-python/commit/54c69436f4= 5f2c78b3ace754780a1a265e60d430
and the final method name for = MySQLdb connection is "_get_native_connection()"

I'm ready to release LIXA 1.7.1 with XTA support for Python2/= 3 and PostgreSQL/MySQL/MariaDB, but currently I still have all the examples= with
"get_native_connection()" for PostgreSQL
and
"_get_native_connection()" for MySQL/MariaD= B

Do you mind if I fork the master = branch of Psycopg2 and apply your changes? I would like to avoid a release = with inconsistent method name that should be fixed as soon as Psycopg2 2.8 = will be available.

Kind Regards
Ch.F.

=

------=_Part_27162878_374768405.1540762541618--