Re: Attribute 'name' not found

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Attribute 'name' not found
Дата
Msg-id 20020816191807.D4806-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на Attribute 'name' not found  (Mario Henley Becerril Geldis <henley@uaemex.mx>)
Список pgsql-admin
On Fri, 16 Aug 2002, Mario Henley Becerril Geldis wrote:

>   I don't known why postgreSQL send this error:
>
>   test=# \d addresses
>      Table "addresses"
>  Column | Type | Modifiers
> --------+------+-----------
>  Name   | text |
>  Phone  | text |
>  Email  | text |
>
> test=# select Name from addresses;
> ERROR:  Attribute 'name' not found

>   any ideas..???

You probably created the table with the
column name double quoted ("Name").  If
you do so, you'll need to refer to the
column with double quotes from that point
forward (the identifier without quotes
gets case folded to lowercase - note
the error message)


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

Предыдущее
От: Mario Henley Becerril Geldis
Дата:
Сообщение: Attribute 'name' not found
Следующее
От: Curt Sampson
Дата:
Сообщение: Re: ProstGreSQL on RAID Question