From 5631b4460f4721cb7a1ef950bd48165f5ebbd1c3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stefan=20B=C3=BChler?= Date: Sat, 13 Jul 2013 12:37:49 +0200 Subject: [PATCH] gpsqlbackend: use empty defaults for dbname and user; libpq will use the current user name for both by default --- modules/gpgsqlbackend/gpgsqlbackend.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/gpgsqlbackend/gpgsqlbackend.cc b/modules/gpgsqlbackend/gpgsqlbackend.cc index 803ba11db6..661bbf4c7c 100644 --- a/modules/gpgsqlbackend/gpgsqlbackend.cc +++ b/modules/gpgsqlbackend/gpgsqlbackend.cc @@ -41,8 +41,8 @@ public: // XXX FIXME this stuff is duplicate with gmysqlbackend void declareArguments(const string &suffix="") { - declare(suffix,"dbname","Pdns backend database name to connect to","powerdns"); - declare(suffix,"user","Pdns backend user to connect as","powerdns"); + declare(suffix,"dbname","Pdns backend database name to connect to",""); + declare(suffix,"user","Pdns backend user to connect as",""); declare(suffix,"host","Pdns backend host to connect to",""); declare(suffix,"port","Database backend port to connect to",""); declare(suffix,"socket","Pdns backend socket to connect to",""); -- 2.47.2