NCI-Agency/anet#1722: Make getFutureToPastReports query work under PostgreSQL as well
NCI-Agency/anet#1722: Make getFutureToPastReports query work under PostgreSQL as well

NCI-Agency/anet,NCI-Agency/anet,NCI-Agency/anet,NCI-Agency/anet,NCI-Agency/anet