Skip to content

Commit 9cc4dd1

Browse files
committed
additional comment
1 parent 620ed78 commit 9cc4dd1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

api/src/org/labkey/api/data/dialect/BasePostgreSqlDialect.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1161,6 +1161,9 @@ private SQLFragment timestampdiff(SQLFragment... arguments)
11611161

11621162
/* Native PostgreSQL implementation for all 9 SQL_TSI intervals.
11631163
* This returns INTEGER for all intervals and never falls back to the JDBC escape.
1164+
*
1165+
* This was specifically created as a work around for PG JDBC parameter swapping issue. This does not use the JDBC
1166+
* timestampdiff function.
11641167
*/
11651168
private SQLFragment timestampdiff2(SQLFragment... arguments)
11661169
{

0 commit comments

Comments
 (0)