psql files to extract census data