From: Stefan Bühler Date: Sat, 13 Jul 2013 10:37:49 +0000 (+0200) Subject: gpsqlbackend: use empty defaults for dbname and user; libpq will use the current... X-Git-Tag: rec-3.6.0-rc1~561^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F910%2Fhead;p=thirdparty%2Fpdns.git gpsqlbackend: use empty defaults for dbname and user; libpq will use the current user name for both by default --- 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","");