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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse psycopg by date

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