[GRASS-SVN] r59914 - grass/branches/releasebranch_7_0/db/drivers/postgres

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Apr 23 12:45:24 PDT 2014


Author: martinl
Date: 2014-04-23 12:45:24 -0700 (Wed, 23 Apr 2014)
New Revision: 59914

Modified:
   grass/branches/releasebranch_7_0/db/drivers/postgres/index.c
Log:
PG driver: message cosmetics
   (merge r59913 from trunk)


Modified: grass/branches/releasebranch_7_0/db/drivers/postgres/index.c
===================================================================
--- grass/branches/releasebranch_7_0/db/drivers/postgres/index.c	2014-04-23 19:43:50 UTC (rev 59913)
+++ grass/branches/releasebranch_7_0/db/drivers/postgres/index.c	2014-04-23 19:45:24 UTC (rev 59914)
@@ -55,8 +55,8 @@
     res = PQexec(pg_conn, db_get_string(&sql));
 
     if (!res || PQresultStatus(res) != PGRES_COMMAND_OK) {
-	db_d_append_error("%s\n%s\%s",
-			  _("Unable to create index:\n"),
+	db_d_append_error("%s: %s\n%s",
+			  _("Unable to create index"),
 			  db_get_string(&sql),
 			  PQerrorMessage(pg_conn));
 	db_d_report_error();



More information about the grass-commit mailing list