diff options
author | randomdan <randomdan@localhost> | 2010-07-05 15:13:40 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2010-07-05 15:13:40 +0000 |
commit | cc4de149dd528fca55f5fce8a63ee7ffe99ea5d4 (patch) | |
tree | 9e1eb1ca4297812918138a1d83c3571a698647dc | |
parent | Make form a shared stylesheet and use it for the search too (diff) | |
download | gentoobrowse-cc4de149dd528fca55f5fce8a63ee7ffe99ea5d4.tar.bz2 gentoobrowse-cc4de149dd528fca55f5fce8a63ee7ffe99ea5d4.tar.xz gentoobrowse-cc4de149dd528fca55f5fce8a63ee7ffe99ea5d4.zip |
Implement connection caching and checking (requires ODBCv3 driver)
Implement preferLocal DB access
-rw-r--r-- | gentoobrowse/datasources/postgres.xml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gentoobrowse/datasources/postgres.xml b/gentoobrowse/datasources/postgres.xml index 4e739f2..b48a434 100644 --- a/gentoobrowse/datasources/postgres.xml +++ b/gentoobrowse/datasources/postgres.xml @@ -1,8 +1,10 @@ <?xml version="1.0"?> <project2:rdbmsdatasource xmlns:project2="http://project2.randomdan.homeip.net" name="postgres"> <readonly preferlocal="true"> - <dsn>Driver=postgresql;Readonly=yes;ServerName=firebrand.random.lan;Username=gentoo;Database=gentoo;Password=gentoo;</dsn> - <dsn>Driver=postgresql;Readonly=yes;ServerName=defiant.random.lan;Username=gentoo;Database=gentoo;Password=gentoo;</dsn> + <dsn host="firebrand">Driver=postgresql;ServerName=firebrand.random.lan;Username=gentoo;Database=gentoo;Password=gentoo;</dsn> + <dsn host="defiant">Driver=postgresql;ServerName=defiant.random.lan;Username=gentoo;Database=gentoo;Password=gentoo;</dsn> + <dsn host="akira">Driver=postgresql;ServerName=akira.random.lan;Username=gentoo;Database=gentoo;Password=gentoo;</dsn> + <dsn host="riogrande">Driver=postgresql;ServerName=riogrande.random.lan;Username=gentoo;Database=gentoo;Password=gentoo;</dsn> </readonly> - <masterdsn>Driver=postgresql;Readonly=no;ServerName=postgresql.random.lan;Username=gentoo;Database=gentoo;Password=gentoo;CPTimeOut=60</masterdsn> + <masterdsn>Driver=postgresql;ServerName=postgresql.random.lan;Username=gentoo;Database=gentoo;Password=gentoo;</masterdsn> </project2:rdbmsdatasource> |