Re: relation does not exist - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: relation does not exist
Date
Msg-id Pine.BSO.4.63.0602211459460.4950@leary.csoft.net
Whole thread Raw
In response to relation does not exist  (eric cartman <panefsky@yahoo.com>)
List pgsql-jdbc

On Tue, 21 Feb 2006, eric cartman wrote:

> Hello to everyone,
>
>  The problem is that I create a database and some tables through ant and
> an .sql file.  Then by using DatabaseMetaData class and method
> getTables(..)I can make a list of the newly created tables, implying
> that everything worked fine.
>
>  But when I am trying to Insert values into tables, i get the message
> 'relation <name> does not exist'.
>

getTables will tell you about all tables in all schemas.  Perhaps there's
a table that is not in your search_path when you try and insert into it.

Kris Jurka


pgsql-jdbc by date:

Previous
From: Mark Lewis
Date:
Subject: Re: relation does not exist
Next
From: eric cartman
Date:
Subject: relation does not exist