On Tue, May 13, 2008 at 11:12 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
> On Tue, May 13, 2008 at 10:16 PM, Anand Chitipothu <[EMAIL PROTECTED]>
> wrote:
>
>>
>> >>>> import web
>> >>>> db=web.database(dbn='postgres', user='XX', pw='YY', db='ZZ',
>> host='HH')
>> >>>> db._ctx
>> > <Storage {}>
>> >>>> db._db_cursor()
>> > Aborted
>>
>> try setting
>>
>> web.config._hasPooling = False
>
>
>>> import web
>>> web.config._hasPooling=False
>>> db=web.database(**DB_CONFIG) # DB_CONFIG has db settings
>>> db.hasPooling
False
>>> db._db_cursor()
Aborted
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---