[GRASS-SVN] r60464 - grass/trunk/db/drivers/postgres

svn_grass at osgeo.org svn_grass at osgeo.org
Sat May 24 13:51:18 PDT 2014


Author: martinl
Date: 2014-05-24 13:51:18 -0700 (Sat, 24 May 2014)
New Revision: 60464

Modified:
   grass/trunk/db/drivers/postgres/listdb.c
Log:
pg-db: debug message cosmetics


Modified: grass/trunk/db/drivers/postgres/listdb.c
===================================================================
--- grass/trunk/db/drivers/postgres/listdb.c	2014-05-24 20:48:12 UTC (rev 60463)
+++ grass/trunk/db/drivers/postgres/listdb.c	2014-05-24 20:51:18 UTC (rev 60464)
@@ -44,8 +44,9 @@
         return DB_FAILED;
     }
     
-    G_debug(3, "host = %s, port = %s, options = %s, tty = %s",
-	    pgconn.host, pgconn.port, pgconn.options, pgconn.tty);
+    G_debug(1, "db = %s, user = %s, pass = %s, host = %s, port = %s, options = %s, tty = %s",
+	    pgconn.dbname, pgconn.user, pgconn.password, pgconn.host,
+            pgconn.port, pgconn.options, pgconn.tty);
 
     pg_conn =
 	PQsetdb(pgconn.host, pgconn.port, pgconn.options, pgconn.tty,



More information about the grass-commit mailing list