[PEAK] need hints on PEAK twisted support
Stephen C. Waterbury
golux at comcast.net
Thu Apr 8 14:04:22 EDT 2004
Phillip J. Eby wrote:
> At 12:48 PM 4/8/04 -0400, Stephen C. Waterbury wrote:
>> Now let's see how flexible PEAK is :> ...
>> I have PostgreSQL installed, since I use it for my Twisted app.
>> What would I have to change in the bulletins example to
>> make it use PostgreSQL instead of SQLite?
>
> Look a couple lines further up in the same file. :)
>
> Specifically, you'll want to change the bulletins.databaseURL to
> something like:
>
> 'pgsql://someuser:somepw@somehost/somedb'
>
> Or, 'psycopg://...' if you're using the PsycoPG driver insted of PygreSQL.
How about 'pypgsql://...' ? (Guess I'd have to create a new
entry in names config ...?)
(I have pyPgSQL already installed. I could switch to psycopg if nec.;
I'm pretty sure psycopg works fine with t.e.adbapi now.)
- Steve
More information about the PEAK
mailing list