From: | "Kevin Grittner" <kgrittn(at)mail(dot)com> |
---|---|
To: | "José Pedro Santos" <zpsantos1(at)hotmail(dot)com>, "Postgres Ajuda" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: pg_wrapper error |
Date: | 2012-10-26 13:37:32 |
Message-ID: | 20121026133732.306920@gmx.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
José Pedro Santos wrote:
> 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.
shp2pgsql converts ESRI Shape files into SQL suitable for insertion
into a PostGIS/PostgreSQL database. You are not using PostgreSQL
until you take the resulting file and run it against the database
using some client application, like psql. pg_wrapper is an Ubuntu
"helper" program that runs a PostgreSQL client program like psql
after looking up which version to use for the requested database
cluster.
http://manpages.ubuntu.com/manpages/lucid/man1/shp2pgsql.1.html
http://manpages.ubuntu.com/manpages/lucid/man1/pg_wrapper.1.html
It appears that you don't have pg_wrapper installed, but are trying
to use it (either directly or by running something which tries to use
it).
-Kevin
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian Klaver | 2012-10-26 13:56:46 | Re: pg_wrapper error |
Previous Message | José Pedro Santos | 2012-10-26 13:35:32 | FW: pg_wrapper error |