Re: 2.4.2 code ready

From: Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com>
To: Federico Di Gregorio <federico(dot)digregorio(at)dndg(dot)it>
Cc: psycopg(at)postgresql(dot)org
Subject: Re: 2.4.2 code ready
Date: 2011-06-08 08:30:00
Message-ID: BANLkTikcZ1iOO=ho5sfZpWz7A7QkZfgqfg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

On Wed, Jun 8, 2011 at 8:52 AM, Federico Di Gregorio
<federico(dot)digregorio(at)dndg(dot)it> wrote:

> yesterday I had a good look at all the code and every single change
> seems fine to me. I merged everything but there is a little quirk: I see
> that you're using lower case for SQL keywords like the transaction
> levels while the PostgreSQL preferred lettering is uppercase (just have
> a look at the manuals). I think it would be better to just be coherent
> with PostgreSQL documentation.

Do you mean in the python interface or internally? Or in the docs?

FWIW for isolevel values I've take the lettering from the effectively
stored values of the GUC, e.g. SHOW default_isolation_level gives
"serializable" even if you set it uppercode (however they are parsed
non case sensitive, just to be sure). The values accepted by the
python set_transaction() are not case sensitive, and I've preferred
documenting them lowercase because it's easier to type and doesn't
feel "alien" in python code.

But more likely I've not understood what you are referring to :)

> Also waiting on Jason+Stephen for any windows fix before the release.

Finished a few minutes ago to verify their changes, both on linux and
on mingw. The seup cleanup branch is merged in my devel now.

-- Daniele

In response to

Responses

Browse psycopg by date

  From Date Subject
Next Message Federico Di Gregorio 2011-06-09 07:01:59 Re: 2.4.2 code ready
Previous Message Federico Di Gregorio 2011-06-08 07:52:40 Re: 2.4.2 code ready