From e82995db136472641ca9ffb764417abbb45e300d Mon Sep 17 00:00:00 2001
From: Joerg Jaspert <joerg@debian.org>
Date: Wed, 23 Mar 2011 19:59:10 +0100
Subject: [PATCH] move to service usage

Signed-off-by: Joerg Jaspert <joerg@debian.org>
---
 config/backports/dak.conf | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/config/backports/dak.conf b/config/backports/dak.conf
index 16745748..d97c52ba 100644
--- a/config/backports/dak.conf
+++ b/config/backports/dak.conf
@@ -243,9 +243,13 @@ Dir
 
 DB
 {
-  Name "backports";
-  Host "";
-  Port -1;
+  Service "backports";
+  // PoolSize should be at least ThreadCount + 1
+  PoolSize 5;
+  // MaxOverflow shouldn't exceed postgresql.conf's max_connections - PoolSize
+  MaxOverflow 13;
+  // should be false for encoding == SQL_ASCII
+  Unicode "false"
 };
 
 SuiteMappings
-- 
2.39.5