Re: Problem with capital letter in column name

From: Patrick Headley <pheadley(at)linxco-inc(dot)com>
To: pgadmin-support(at)postgresql(dot)org
Subject: Re: Problem with capital letter in column name
Date: 2016-08-08 18:49:27
Message-ID: b199c8be-0ec4-6e44-eea9-ec0b87732e03@linxco-inc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Put double-quotes around it or else it will get rolled down to lower
case and won't match the actual field name.

*/Patrick Headley/*
Linx Consulting, Inc.
pheadley(at)linxco-inc(dot)com
(303) 916-5522
www.linxco-inc.com
On 08/08/2016 12:43 PM, Marc-André Goderre wrote:
>
> I work with an existing database containing capital letter in column
> name.
>
> When i want to view data from conextual meny, it always send an error :
>
> i.e.:
>
> ERROR: column "idmunicipaliteexterne" does not exist
>
> LINE 2: ORDER BY idMunicipaliteExterne
>
> ^
>
> ********** Error **********
>
> ERROR: column "idmunicipaliteexterne" does not exist
>
> SQL state: 42703
>
> Character: 56
>
> It seems that pgadmin don't add the double quote in the ORDER BY
> clause when the column name has capital letters.
>
> PGadmin 4 beta 3
>
> Postgresql 9.1
>
> Ubuntu server 12.04
>
> Thanks
>
> Marc
>

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Marc-André Goderre 2016-08-08 19:01:32 Re: Problem with capital letter in column name
Previous Message Marc-André Goderre 2016-08-08 18:43:14 Problem with capital letter in column name