Re: relation X does not exist - Mailing list pgsql-sql

From Tom Lane
Subject Re: relation X does not exist
Date
Msg-id 2155.1082423493@sss.pgh.pa.us
Whole thread Raw
In response to relation X does not exist  (Laura Scott <l.e.scott@larc.nasa.gov>)
List pgsql-sql
Laura Scott <l.e.scott@larc.nasa.gov> writes:
> I have a table defined with only two fields.  The create table statement
> did not have " " around the table name.  I can cut and paste the query
> from my debug statement into psql and get the desired result set back.
> However, in the .pgc file, the query no matter how I write it (with " "
> , without, uppercase....) I get the relation X does not exist.

Are you sure your ecpg program is connecting to the same database as
you're using manually?  Perhaps it's connecting as a different userid
that has a different search path?
        regards, tom lane


pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: Prepared Statements and large where-id-in constant blocks?
Next
From: "Stijn Vanroye"
Date:
Subject: Re: three-way join - solved