Re: Transaction control overhauling - Mailing list psycopg

From Federico Di Gregorio
Subject Re: Transaction control overhauling
Date
Msg-id 4DCC011D.8020808@dndg.it
Whole thread Raw
In response to Re: Transaction control overhauling  (Oswaldo <listas@soft-com.es>)
Responses Re: Transaction control overhauling  (Oswaldo <listas@soft-com.es>)
List psycopg
On 12/05/11 17:15, Oswaldo wrote:
[snip]
> Another way is setting transacion mode with predefined constants and
> combining it with '|':
>
> previous_mode = conn.set_transaction(psycppg2.TM_SERIALIZABLE |
> psycppg2.TM_READONLY)

Please don't do that C-ish thing.. Every time you do that a kitten
somewhere dies.

federico

--
Federico Di Gregorio                         federico.digregorio@dndg.it
Studio Associato Di Nunzio e Di Gregorio                  http://dndg.it
  Gli esseri umani, a volte, sono destinati, per il solo fatto di
   esistere, a fare del male a qualcuno.              -- Haruki Murakami

psycopg by date:

Previous
From: Oswaldo
Date:
Subject: Re: Transaction control overhauling
Next
From: Oswaldo
Date:
Subject: Re: Transaction control overhauling