From 5f815921fcf5b7aa8b5609446410aed83b1d3025 Mon Sep 17 00:00:00 2001 From: randomdan Date: Sun, 13 Feb 2011 16:36:56 +0000 Subject: Import runs on localhost only, everything uses the native postgresql driver --- gentoobrowse/datasources/postgres-web.xml | 10 +++++----- gentoobrowse/datasources/postgres.xml | 11 ++--------- 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/gentoobrowse/datasources/postgres-web.xml b/gentoobrowse/datasources/postgres-web.xml index 7ee517b..426f6ee 100644 --- a/gentoobrowse/datasources/postgres-web.xml +++ b/gentoobrowse/datasources/postgres-web.xml @@ -1,10 +1,10 @@ - Driver=postgresql;ServerName=firebrand.random.lan;Username=apache;Database=gentoo;Password=gentoo;ConnSettings=SET search_path=gentoobrowse,public; - Driver=postgresql;ServerName=defiant.random.lan;Username=apache;Database=gentoo;Password=gentoo;ConnSettings=SET search_path=gentoobrowse,public; - Driver=postgresql;ServerName=akira.random.lan;Username=apache;Database=gentoo;Password=gentoo;ConnSettings=SET search_path=gentoobrowse,public; - Driver=postgresql;ServerName=riogrande.random.lan;Username=apache;Database=gentoo;Password=gentoo;ConnSettings=SET search_path=gentoobrowse,public; + host=firebrand.random.lan user=apache dbname=gentoo options='-c search_path=gentoobrowse,public' + host=defiant.random.lan user=apache dbname=gentoo options='-c search_path=gentoobrowse,public' + host=akira.random.lan user=apache dbname=gentoo options='-c search_path=gentoobrowse,public' + host=riogrande.random.lan user=apache dbname=gentoo options='-c search_path=gentoobrowse,public' - Driver=postgresql;ServerName=postgresql.random.lan;Username=apache;Database=gentoo;Password=gentoo;ConnSettings=SET search_path=gentoobrowse,public; + host=firebrand.random.lan user=apache dbname=gentoo options='-c search_path=gentoobrowse,public' diff --git a/gentoobrowse/datasources/postgres.xml b/gentoobrowse/datasources/postgres.xml index 0a57c93..4824855 100644 --- a/gentoobrowse/datasources/postgres.xml +++ b/gentoobrowse/datasources/postgres.xml @@ -1,14 +1,7 @@ - - Driver=postgresql;ServerName=firebrand.random.lan;Username=gentoo;Database=gentoo;Password=gentoo;ConnSettings=SET search_path=gentoobrowse,public; - - - Driver=postgresql;ServerName=defiant.random.lan;Username=gentoo;Database=gentoo;Password=gentoo;ConnSettings=SET search_path=gentoobrowse,public; - + host=localhost user=gentoo dbname=gentoo options='-c search_path=gentoobrowse,public' - - Driver=postgresql;ServerName=postgresql.random.lan;Username=gentoo;Database=gentoo;Password=gentoo;ConnSettings=SET search_path=gentoobrowse,public; - + host=localhost user=gentoo dbname=gentoo options='-c search_path=gentoobrowse,public' -- cgit v1.2.3