re-introduce $sth->rows > 0 check which PostgreSQL needs
-rw-r--r-- 219 Makefile.PL
-rwxr-xr-x 6302 sql2xls.cgi