[postgis-users] Pg_wrapper error

José Pedro Santos zpsantos1 at hotmail.com
Fri Oct 26 02:28:20 PDT 2012


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: bkpark at ucdavis.edu
> To: postgis-users at postgis.refractions.net
> 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
> > postgis-users at postgis.refractions.net
> > http://postgis.refractions.net/mailman/listinfo/postgis-users
> > 
> 
> -- 
> Bborie Park
> Programmer
> Center for Vectorborne Diseases
> UC Davis
> 530-752-8380
> bkpark at ucdavis.edu
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20121026/ff158413/attachment.html>


More information about the postgis-users mailing list