Re: New connection methods: get_server_parameter & co

Federico Di Gregorio <fog-NGVKUo/i/[email protected]>
Newsgroups gmane.comp.python.db.psycopg.devel
Organization initd.org
Message-ID <[email protected]>
Il giorno mer, 15/04/2009 alle 14.02 +0300, Marko Kreen ha scritto:
> Attached patch adds following methods to connection object:
> 
>   get_parameter_status - wraps PQparameterStatus
>   get_server_version - wraps PQserverVersion
>   get_protocol_version - wraps PQprotocolVersion

Thank you very much for the patch. I think that the versions should be
available as properties, not methods. I'll apply I slightly modified
version of your patch.

federico

-- 
Federico Di Gregorio                         http://people.initd.org/fog
Debian GNU/Linux Developer                                [email protected]
INIT.D Developer                                           fog-NGVKUo/i/[email protected]
                   I came like Water, and like Wind I go. -- Omar Khayam

_______________________________________________
Psycopg mailing list
Psycopg-IAPFreCvJWPBWskQ1e/[email protected]
http://lists.initd.org/mailman/listinfo/psycopg
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEABECAAYFAknlxv0ACgkQvcCgrgZGjeucCgCgj8hZ2P7vRbRWew4+xr1UFNOr
aSkAn2gguFtNSjK4IVEL7E087k81iSp0
=Du4p
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.