Re: Attribute 'name' not found - Mailing list pgsql-admin

From Stephan Szabo
Subject Re: Attribute 'name' not found
Date
Msg-id 20020816191807.D4806-100000@megazone23.bigpanda.com
Whole thread Raw
In response to Attribute 'name' not found  (Mario Henley Becerril Geldis <henley@uaemex.mx>)
List 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 by date:

Previous
From: Mario Henley Becerril Geldis
Date:
Subject: Attribute 'name' not found
Next
From: Curt Sampson
Date:
Subject: Re: ProstGreSQL on RAID Question