Permalink
Browse files

gpsqlbackend: use empty defaults for dbname and user; libpq will use …

…the current user name for both by default
  • Loading branch information...
1 parent cf4afdc commit 5631b4460f4721cb7a1ef950bd48165f5ebbd1c3 @stbuehler stbuehler committed Jul 13, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 modules/gpgsqlbackend/gpgsqlbackend.cc
@@ -41,8 +41,8 @@ class gPgSQLFactory : public BackendFactory
// 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","");

0 comments on commit 5631b44

Please sign in to comment.