Re: relation X does not exist

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: relation X does not exist
Дата
Msg-id 2155.1082423493@sss.pgh.pa.us
обсуждение исходный текст
Ответ на relation X does not exist  (Laura Scott <l.e.scott@larc.nasa.gov>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Prepared Statements and large where-id-in constant blocks?
Следующее
От: "Stijn Vanroye"
Дата:
Сообщение: Re: three-way join - solved