From: | José Pedro Santos <zpsantos1(at)hotmail(dot)com> |
---|---|
To: | <adrian(dot)klaver(at)gmail(dot)com> |
Cc: | Postgres Ajuda <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: pg_wrapper error |
Date: | 2012-10-26 13:33:54 |
Message-ID: | BLU162-W308B6EEF5406C4E019C213E07E0@phx.gbl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Postgres 9.1 in Ubuntu Distribution (12.04 LTS).
When I try to use the shp2pgsql after the pg_wrapper error said that I don't have that function, so I enable that function with this command:
sudo ln -sf /usr/share/postgresql-common/pg_wrapper /usr/local/bin/shp2pgsql
then I try to import again with the same expression that I used before:
shp2pgsql /home/user/Downloads/Africa_Boundaries/africa.shp teste2.africa | psql -d MyDatabase
And I have the pg_wrapper error (Error: pg_wrapper: invalid command name)
Many thanks
José Santos
> Date: Fri, 26 Oct 2012 06:24:18 -0700
> From: adrian(dot)klaver(at)gmail(dot)com
> To: zpsantos1(at)hotmail(dot)com
> CC: pgsql-general(at)postgresql(dot)org
> Subject: Re: [GENERAL] pg_wrapper error
>
> On 10/26/2012 06:16 AM, José Pedro Santos wrote:
> > Dear all,
> >
> > When I try to use the command line tool shp2pgsql in the shell I have
> > this error:
> >
> > *Error: pg_wrapper: invalid command name*
> >
> > I already read some information in the Debian lists but I don't
> > understand the problem/relation with PostgreSQL.
> >
> > If anyone can help me with this problem please tell me.
>
> More information is needed.
>
> What version of Postgres?
>
> What OS and version?
>
> How are you using shp2pgsql?
> In other words show command line.
>
> Where is the above error showing up?
>
> >
> > Many thanks
> > José Santos
>
>
> --
> Adrian Klaver
> adrian(dot)klaver(at)gmail(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | José Pedro Santos | 2012-10-26 13:35:32 | FW: pg_wrapper error |
Previous Message | Adrian Klaver | 2012-10-26 13:24:18 | Re: pg_wrapper error |