Skip site navigation (1) Skip section navigation (2)

Re: RFC: Extend psycopg2.connect to accept all valid parameters?

From: Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com>
To: Federico Di Gregorio <fog(at)dndg(dot)it>
Cc: psycopg(at)postgresql(dot)org
Subject: Re: RFC: Extend psycopg2.connect to accept all valid parameters?
Date: 2011-11-17 11:39:35
Message-ID: CA+mi_8YTjfcqyWm_666WLBjauO5UtUNUCFZfwfyZV_M2cRLZtA@mail.gmail.com (view raw or flat)
Thread:
Lists: psycopg
On Thu, Nov 17, 2011 at 11:18 AM, Federico Di Gregorio <fog(at)dndg(dot)it> wrote:

> Never said doing it in Python is wrong. In fact anything that isn't
> time-critical (type conversions, etc.) at this point is OK in Python.

I was also thinking that having the pair connect()/_connect() is
perfect for regression testing: _connect() can be replaced with a stub
to test the arguments conversion without really connecting.

-- Daniele

In response to

Responses

psycopg by date

Next:From: Federico Di GregorioDate: 2011-11-17 11:41:34
Subject: Re: RFC: Extend psycopg2.connect to accept all valid parameters?
Previous:From: Federico Di GregorioDate: 2011-11-17 11:18:45
Subject: Re: RFC: Extend psycopg2.connect to accept all valid parameters?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group