Re: "field doesn't exist" even though I'm sure it does

Поиск
Список
Период
Сортировка
От Tom Hart
Тема Re: "field doesn't exist" even though I'm sure it does
Дата
Msg-id 473DFCBA.7050201@coopfed.org
обсуждение исходный текст
Ответ на Re: "field doesn't exist" even though I'm sure it does  (Sam Mason <sam@samason.me.uk>)
Ответы Re: "field doesn't exist" even though I'm sure it does
Список pgsql-general
Sam Mason wrote:
> On Fri, Nov 16, 2007 at 03:13:48PM -0500, Tom Hart wrote:
>
>> column "isactive" of relation "membermailingaddress" does not exist
>>
>>    Table "public.membermailingaddress"
>>     Column      |     Type     | Modifiers
>> -----------------+--------------+-----------
>> IsActive        | boolean      |
>>
>
> If you don't enclose an identifier in double quotes (") then PG will
> make the identifier lowercase before looking for it.  This is in an
> attempt to support case-insensitive general usage, while still allowing
> case-sensitive usage if you really want it.
>
Ok, that makes sense. Like I said I created this db to mimic our
previous db, but I think the best solution here would be to continue my
trend of using all lowercase column names so that I'm not faced with
this problem.

Thank you for your reply, and you too Joshua. Sorry for such an easy
question :-)
>   Sam
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
>


В списке pgsql-general по дате отправления:

Предыдущее
От: Sam Mason
Дата:
Сообщение: Re: "field doesn't exist" even though I'm sure it does
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: "field doesn't exist" even though I'm sure it does