BUG: Wrong SQL for PGSQL
BUG: Wrong SQL for PGSQL

jcfr/CDash,cpatrick/CDash,jcfr/CDash,cpatrick/CDash,cpatrick/CDash,cpatrick/CDash,jcfr/CDash,jcfr/CDash,cpatrick/CDash,cpatrick/CDash,jcfr/CDash,jcfr/CDash