Re: Cannot open table in new database

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Cannot open table in new database
Дата
Msg-id 201006301704.15845.adrian.klaver@gmail.com
обсуждение исходный текст
Ответ на Re: Cannot open table in new database  (Phil Jackson <sapient@clear.net.nz>)
Ответы Re: Cannot open table in new database  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Cannot open table in new database  (Phil Jackson <sapient@clear.net.nz>)
Список pgsql-general
On Thursday 01 July 2010 11:11:29 am Phil Jackson wrote:
> Hi Adrian
>
> The link says that;
>
> "Identifier and key word names are case insensitive."
>
> But I have renamed the source table in lowercase and this gets me one
> step further.
>
> I'll carry on and see what happens next.
>
> Cheers
>
> Phil Jackson
>

You need to go to bottom of that section where you would find :)

"Quoting an identifier also makes it case-sensitive, whereas unquoted names are
always folded to lower case. For example, the identifiers FOO, foo, and "foo"
are considered the same by PostgreSQL, but "Foo"  and "FOO" are different from
these three and each other. (The folding of unquoted names to lower case in
PostgreSQL is incompatible with the SQL standard, which says that unquoted
names should be folded to upper case. Thus, foo should be equivalent to "FOO"
not "foo" according to the standard. If you want to write portable applications
you are advised to always quote a particular name or never quote it.) "

--
Adrian Klaver
adrian.klaver@gmail.com

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

Предыдущее
От: Michael Glaesemann
Дата:
Сообщение: Re: Can't EXTRACT number of months from an INTERVAL
Следующее
От: Tom Lane
Дата:
Сообщение: Re: left outer join fails because "column .. does not exist in left table?"