Re: New connection methods: get_server_parameter & co

Marko Kreen <[email protected]>
Newsgroups gmane.comp.python.db.psycopg.devel
Message-ID <[email protected]>
On 4/15/09, Federico Di Gregorio <fog-NGVKUo/i/[email protected]> wrote:
> 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.

Ok, that should be fine also.  Thanks for quick feedback.

-- 
marko
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.