From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: Mario Henley Becerril Geldis <henley@uaemex.mx>
Cc: pgsql-admin@postgresql.org
Subject: Re: Attribute 'name' not found
Date: Fri, 16 Aug 2002 19:19:32 -0700 (PDT)
Message-ID: <20020816191807.D4806-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <Pine.LNX.4.21.0208162035190.26630-100000@real1.correo.mx>
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)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: sszabo@megazone23.bigpanda.com, henley@uaemex.mx
Subject: Re: Attribute 'name' not found
In-Reply-To: <20020816191807.D4806-100000@megazone23.bigpanda.com>
References: <Pine.LNX.4.21.0208162035190.26630-100000@real1.correo.mx> <20020816191807.D4806-100000@megazone23.bigpanda.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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