Re: Relation "tablename" does not exist - Mailing list pgsql-general

From Michael Glaesemann
Subject Re: Relation "tablename" does not exist
Date
Msg-id 3F0DE679-DBCD-4E05-B608-9AC86FCE9B73@seespotcode.net
Whole thread Raw
In response to Relation "tablename" does not exist  ("Johan van der Merwe" <johan@bnrel.co.za>)
List pgsql-general
On Jun 15, 2006, at 15:52 , Johan van der Merwe wrote:

> My code is as follows:

Could you explain a bit more what this code is? Is it Java? Python?
What does it do? I know it's not SQL, and I'm guessing it's some kind
of ORM, but without more information I really don't know how to help
(and perhaps others are having the same trouble).

> I receive the error "Relation "tblSuburb" does not exist"

What is the name of the table in the database itself? Can you provide
an example of SQL that *does* do what you want? Or perhaps some psql
output showing the table definition for "tblSuburb"? There's a chance
that it's a quoting problem: your code is calling "tablSuburb" (with
double-quotes, which tells the server to look for a case-sensitive
match) and your table is actually named "tblsuburb". PostgreSQL
downcases all unquoted identifiers.

Hope this helps a bit.

Michael Glaesemann
grzm seespotcode net




pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: how to test my stored procedures?
Next
From: "Merlin Moncure"
Date:
Subject: Re: how to test my stored procedures?