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(dot)digregorio(at)dndg(dot)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