Re: odbc to emulate mysql for end programs

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: odbc to emulate mysql for end programs
Date: 2015-06-02 11:31:55
Message-ID: mkk47b$v0j$1@ger.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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).

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2015-06-02 11:39:43 Re: Minor revision downgrade (9.2.11 -> 9.2.10)
Previous Message Mimiko 2015-06-02 11:16:40 Re: odbc to emulate mysql for end programs