Re: relation does not exist error

Поиск
Список
Период
Сортировка
От Doug McNaught
Тема Re: relation does not exist error
Дата
Msg-id 87llcgcbh8.fsf@asmodeus.mcnaught.org
обсуждение исходный текст
Ответ на relation does not exist error  (Simon Wittber <simonwittber@gmail.com>)
Ответы Re: relation does not exist error
Список pgsql-general
Simon Wittber <simonwittber@gmail.com> writes:

> WMSDV=# \dt
>          List of relations
>  Schema |   Name    | Type  | Owner
> --------+-----------+-------+-------
>  public | Customers | table | simon
>  public | Persons   | table | simon
> (2 rows)
>
> WMSDV=# select * from Customers;
> ERROR:  relation "customers" does not exist

Identifiers get mashed to lower case unless you quote them:

SELECT * FROM "Customers";

-Doug

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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: relation does not exist error
Следующее
От: Alec Swan
Дата:
Сообщение: table inheritance and DB design