Hi, Thanks for the reply but I already call raster2pgsql. In the beginning says that I don't have the command raster2pgsql available and them I just enable it, after that appear the pg_wrapper error.
Now the error pass to pg_wrapper... The problem its not the raster2pgsql. Regards, Jose Santos > Date: Thu, 25 Oct 2012 09:51:39 -0700 > From: [email protected] > To: [email protected] > Subject: Re: [postgis-users] Pg_wrapper error > > You're probably going to want to call raster2pgsql directly instead of > pg_wrapper. If the problem is with pg_wrapper, you're better asking a > debian mailing list. > > So... > > /usr/bin/raster2pgsql MYRASTER MYTABLE | psql -d MYDB > > -bborie > > On 10/25/2012 08:26 AM, José Pedro Santos wrote: > > > > Dear all, > > > > I have one problem when I try to load raster to Postgis with the script > > raster2pgsql from the shell. > > > > I have this error: Error: pg_wrapper: invalid command name > > > > Before this error (I have Postgis version 2.0) I can't use the command > > (raster2pgsql) in the shell (was not found) but i enable it with this > > expression: > > sudo ln -sf /usr/share/postgresql-common/pg_wrapper /usr/bin/raster2pgsql > > > > After that the error about pg_wrapper appear. > > > > Any suggestion? > > > > Best Regards and thanks, > > Jose Santos > > > > > > > > > > _______________________________________________ > > postgis-users mailing list > > [email protected] > > http://postgis.refractions.net/mailman/listinfo/postgis-users > > > > -- > Bborie Park > Programmer > Center for Vectorborne Diseases > UC Davis > 530-752-8380 > [email protected] > _______________________________________________ > postgis-users mailing list > [email protected] > http://postgis.refractions.net/mailman/listinfo/postgis-users
_______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users
