[postgis-users] ERROR: relation "Linienzug" does not exit

David Blasby dblasby at refractions.net
Wed Mar 24 09:29:22 PST 2004


Stefan Donath wrote:
> Hi,
> 
> I'm using PostGIS 0.8.1. I created a table 'Linienzug' with the colums oid
> (oid), Name (varchar(25)) and Geom (public.geometry).
> 
> I tried to insert data using the following command:
> 
> INSERT INTO Linienzug (oid,Name,Geom) VALUES
> (1,'Linie_1',geometryfromtext('LINESTRING(5589287.1 4570062.5,5589288.0 4570069.0,5589260.0 4570050.9)'));
> 
> but received the error message: ERROR: relation "Linienzug" does not exit.
> 
> Owner of Linienzug is postgres and i'm connected to PostGIS as postgres,
> too.
> 
> What's wrong? Can anybody help??


If you do a "\d" command in psql, you should see your 'Linienzug' table.

If you do, then its probably because you have a capital letter ("L") in 
you table name.

try (note the ""):

INSERT INTO "Linienzug" (oid,Name,Geom) VALUES...



More information about the postgis-users mailing list