[Schmitzm-commits] r2394 - trunk/schmitzm-db/src/main/java/de/schmitzm/postgres

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Tue Oct 8 22:41:42 CEST 2013


Author: alfonx
Date: 2013-10-08 22:41:42 +0200 (Tue, 08 Oct 2013)
New Revision: 2394

Modified:
   trunk/schmitzm-db/src/main/java/de/schmitzm/postgres/PGUtil.java
Log:


Modified: trunk/schmitzm-db/src/main/java/de/schmitzm/postgres/PGUtil.java
===================================================================
--- trunk/schmitzm-db/src/main/java/de/schmitzm/postgres/PGUtil.java	2013-10-08 20:10:12 UTC (rev 2393)
+++ trunk/schmitzm-db/src/main/java/de/schmitzm/postgres/PGUtil.java	2013-10-08 20:41:42 UTC (rev 2394)
@@ -30,7 +30,7 @@
 
 		rs.next();
 
-		String vString = rs.getString(0);
+		String vString = rs.getString(1);
 
 		if (vString.matches("(?i)PostgeSQL 8\\.4\\."))
 			return PgVersion._8_4;



More information about the Schmitzm-commits mailing list