Re: Named Cursors WITH HOLD - Mailing list psycopg

From Federico Di Gregorio
Subject Re: Named Cursors WITH HOLD
Date
Msg-id 4E12CCD8.6080600@dndg.it
Whole thread Raw
In response to Re: Named Cursors WITH HOLD  (Federico Di Gregorio <federico.digregorio@dndg.it>)
List psycopg
On 05/07/11 10:29, Federico Di Gregorio wrote:
> On 05/07/11 09:07, deavid wrote:
>> > Hi, i'm using psycopg and i'm noticing that Named Cursors are being
>> > deleted by PostgreSQL whenever i do a commit. This is the default
>> > behaviour specified in [1], but there is a parameter when creating a
>> > cursor called "WITH HOLD" that allows a cursor outside any
>> > transaction.
> I first try

"I first try"? Gosh, much work and no play makes fog a dull boy.

federico

--
Federico Di Gregorio                         federico.digregorio@dndg.it
Studio Associato Di Nunzio e Di Gregorio                  http://dndg.it
       Se sai che hai un ***** di file così, lo manovri subito. -- vodka

psycopg by date:

Previous
From: Federico Di Gregorio
Date:
Subject: Re: Named Cursors WITH HOLD
Next
From: "W. Matthew Wilson"
Date:
Subject: I wish I could pass bound variables as a dictionary not a list