]> granicus.if.org Git - pdns/commitdiff
gpsqlbackend: use empty defaults for dbname and user; libpq will use the current...
authorStefan Bühler <stbuehler@web.de>
Sat, 13 Jul 2013 10:37:49 +0000 (12:37 +0200)
committerStefan Bühler <stbuehler@web.de>
Sat, 13 Jul 2013 10:37:52 +0000 (12:37 +0200)
modules/gpgsqlbackend/gpgsqlbackend.cc

index 803ba11db644b39ecead525425debe2b1ab1f671..661bbf4c7c991e08f800a46e2a5a4f6f75ca5880 100644 (file)
@@ -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","");