Re: Referencing created tables fails with message that they do not exist!

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: Referencing created tables fails with message that they do not exist!
Дата
Msg-id 20050228011950.GA919@winnie.fuhr.org
обсуждение исходный текст
Ответ на Referencing created tables fails with message that they do not exist!  (Tommy Svensson <tommy@tommysvensson.net>)
Список pgsql-general
On Sun, Feb 27, 2005 at 06:50:50PM -0500, Tommy Svensson wrote:

> SELECT * FROM <table>;
> SELECT * FROM public.<table>;
> SELECT * FROM <schema>.public.<table>;
>
> All result in the message "The relation <table> does not exist!" or "The
> relation public.<table> does not exist!".

Could you copy and paste the *exact* commands and error messages
and send them to the list?  That might help us see what's going on.

> The tables do actually get created. I can se them in DBVisualizer.

If you run psql, what does \d show?  (Again, please copy and paste
the exact output.)  Is it possible that you created the tables in
mixed case and didn't quote their names when you tried to query
them?  If so, then you might want to read "Identifiers and Key
Words" in the "SQL Syntax" chapter of the documentation.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

В списке pgsql-general по дате отправления:

Предыдущее
От: Ken Johanson
Дата:
Сообщение: Re: Possible to run the server with ANSI/ISO string escapeing
Следующее
От: "Mohsen Pahlevanzadeh"
Дата:
Сообщение: Reading from Mysql & writting in PGsql