Re: pg_wrapper error - Mailing list pgsql-general

From Kevin Grittner
Subject Re: pg_wrapper error
Date
Msg-id 20121026133732.306920@gmx.com
Whole thread Raw
In response to pg_wrapper error  (José Pedro Santos <zpsantos1@hotmail.com>)
Responses Re: pg_wrapper error  (Lee Hachadoorian <Lee.Hachadoorian+L@gmail.com>)
List 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


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: pg_wrapper error
Next
From: José Pedro Santos
Date:
Subject: Re: pg_wrapper error