Browse Source

PG driver: message cosmetics
(merge https://trac.osgeo.org/grass/changeset/59913 from trunk)


git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@59914 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 11 years ago
parent
commit
9a6f348d9b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      db/drivers/postgres/index.c

+ 2 - 2
db/drivers/postgres/index.c

@@ -55,8 +55,8 @@ int db__driver_create_index(dbIndex * index)
     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();