[teiid-issues] [JBoss JIRA] (TEIID-3366) postgresql extract used for date functions returns double, not integer