Re: odbc to emulate mysql for end programs

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: odbc to emulate mysql for end programs
Дата
Msg-id mkk47b$v0j$1@ger.gmane.org
обсуждение исходный текст
Ответ на Re: odbc to emulate mysql for end programs  (Mimiko <vbvbrj@gmail.com>)
Ответы Re: odbc to emulate mysql for end programs  (Andrew Sullivan <ajs@crankycanuck.ca>)
Список pgsql-general
Mimiko schrieb am 02.06.2015 um 13:16:
> 1) mysql widelly uses case-insensitive naming for
> schemas,tables,columns.

So does Postgres. FOO, foo and Foo are all the same name

> But postgres use case-sensitive when doulbe-quoting

Which is what the SQL standard requires (and this was required *long* before MySQL even existed)

> or lowers the names without quoting.

> Is there a configure option to ignore case by default?

Yes: don't use quoted identifiers.

> 2)  as program double-quotes the schema,table and column names.

Don't use quoted identifiers. Neither in Postgres nor in MySQL (or any other DBMS)

They give you much more trouble than they are worth it (which you have just learned).


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

Предыдущее
От: Mimiko
Дата:
Сообщение: Re: odbc to emulate mysql for end programs
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Minor revision downgrade (9.2.11 -> 9.2.10)