Re: Very strange selectproblem - Mailing list pgsql-general

From Francois Suter
Subject Re: Very strange selectproblem
Date
Msg-id C45E3D6A-0EC2-11D8-9E6D-000393427520@monpetitcoin.com
Whole thread Raw
In response to Very strange selectproblem  (Victor Spång Arthursson <victor@tosti.dk>)
List pgsql-general
> indiadan=# select varer.vNummer from varer;
> ERROR:  No such attribute varer.vnummer
> indiadan=#

PostgreSQL casts all names to lowercase. To select your field, you need
to use double quotes, as in:

select varer."vNummer" from varer;

Cheers.

---------------
Francois

Home page: http://www.monpetitcoin.com/

"Would Descartes have programmed in Pascal?" - Umberto Eco


pgsql-general by date:

Previous
From: "Hijax"
Date:
Subject: now() problem
Next
From: surdules@yahoo.com (Razvan Surdulescu)
Date:
Subject: Re: INSERT performance