The data loader and dumper are built automatically as part of the PostGIS build. To install them, copy them into a directory in your path.
# cd postgis-0.7/loader # cp pgsql2shp /usr/local/bin # cp shp2pgsql /usr/local/bin |
The loader is called shp2pgsql and converts ESRI Shape files into SQL suitable for loading in PostGIS/PostgreSQL. The dumper is called pgsql2shp and converts PostGIS tables into ESRI shape files.