[Schmitzm-commits] r1866 - trunk/schmitzm-db/src/main/java/de/schmitzm/postgres
scm-commit at wald.intevation.org
scm-commit at wald.intevation.org
Sat Feb 11 16:23:21 CET 2012
Author: alfonx
Date: 2012-02-11 16:23:21 +0100 (Sat, 11 Feb 2012)
New Revision: 1866
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 2012-02-11 09:38:13 UTC (rev 1865)
+++ trunk/schmitzm-db/src/main/java/de/schmitzm/postgres/PGUtil.java 2012-02-11 15:23:21 UTC (rev 1866)
@@ -881,7 +881,7 @@
if (minSecondsRunning < 0)
throw new IllegalStateException();
- where += " and age (now(),query_start) >= interval '" + minSecondsRunning + " second' ";
+ where += " and age (now(),query_start) >= interval '" + minSecondsRunning + "s' ";
}
final String sql = "select current_query, age (now(),query_start) as qage, waiting, procpid, client_addr, usename, application_name from pg_stat_activity "
More information about the Schmitzm-commits
mailing list