java.lang.ClassNotFoundException: org.postgresql.Driver, Android

I am running Eclipse on Windows. Following this tutorial I downloaded JDBC4, added it to my build path using Project>Properties>add External JAR, browsed for the file, it worked (.classpath file shows the correct lib path). The package appears in my Referenced Libraries folder, so I continue the tutorial. I think it would be as simple … Read more

PG COPY error: invalid input syntax for integer

ERROR: invalid input syntax for integer: “” “” isn’t a valid integer. PostgreSQL accepts unquoted blank fields as null by default in CSV, but “” would be like writing: and fail for the same reason. If you want to deal with CSV that has things like quoted empty strings for null integers, you’ll need to feed it to PostgreSQL via … Read more