pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Attribute 'name' not found
2+ messages / 2 participants
[nested] [flat]

* Attribute 'name' not found
@ 2002-08-17 01:36  Mario Henley Becerril Geldis <henley@uaemex.mx>
  0 siblings, 1 reply; 2+ messages in thread

From: Mario Henley Becerril Geldis @ 2002-08-17 01:36 UTC (permalink / raw)
  To: pgsql-admin




  Hi....



  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
test=#



  any ideas..???





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Attribute 'name' not found
@ 2002-08-17 02:19  Stephan Szabo <sszabo@megazone23.bigpanda.com>
  parent: Mario Henley Becerril Geldis <henley@uaemex.mx>
  0 siblings, 0 replies; 2+ messages in thread

From: Stephan Szabo @ 2002-08-17 02:19 UTC (permalink / raw)
  To: Mario Henley Becerril Geldis <henley@uaemex.mx>; +Cc: 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)




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2002-08-17 02:19 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-08-17 01:36 Attribute 'name' not found Mario Henley Becerril Geldis <henley@uaemex.mx>
2002-08-17 02:19 ` Stephan Szabo <sszabo@megazone23.bigpanda.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox