You can get a file of zipcodes in a format readable by 
postgres from goats.gnue.org/~jamest/zipcodes.gz

To install 
first gunzip the file then


go into psql and do
\copy zipcode from zipcodes

