pgsql2shp postgres
hi all
i have command export post to shap file
pgsql2shp -f myshp -h myserver -u apguser -P apgpassword mygisdb
"select * from province WHERE id IN(1,2,3,4,67,34)
and geom && SetSRID('BOX3D(295149 2315499, 465992 2163790)'::box3d,-1)"
but i want run this command on Database Postgres
How can i do that ????