【发布时间】:2013-11-03 03:41:50
【问题描述】:
我使用 Postgresql。我有命令
shp2pgsql -I -s 4269 /tmp/t/Wards.shp aa | psql postgis;
当我输入 su postgres 并输入此命令时,它可以正常工作,但不能从 aa.sh 文件中获得
我的 aa.sh 是
su postgres; shp2pgsql -I -s 4269 /tmp/gismanager/Wards.shp aa | psql postgis;
谁能帮帮我?
【问题讨论】:
标签: linux bash postgresql shell postgis