- Timestamp:
- 06/20/11 16:47:57 (11 months ago)
- Files:
-
- 1 modified
-
sample/trunk/geodata/create_database.bash.in (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sample/trunk/geodata/create_database.bash.in
r3741 r3795 21 21 if [[ -f $${dirname}/$${shapefile}.shp ]]; then 22 22 shp2pgsql -s 900913 -I -W UTF8 $${dirname}/$${shapefile}.shp public.$${shapefile} | psql --quiet -d $${dbname} 23 psql --quiet -d $${dbname} -c "GRANT ALL ON TABLE public.$${shapefile} TO \"$${dbuser}\";" 24 psql --quiet -d $${dbname} -c "GRANT ALL ON TABLE public.$${shapefile}_gid_seq TO \"$${dbuser}\";" 23 25 fi 24 26 }
