Re: Bug#108286: case sensitivity in column names

From: Ketil Malde <ketil(at)ii(dot)uib(dot)no>
To: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
Cc: pgsql-general(at)postgresql(dot)org, pgsql-odbc(at)postgresql(dot)org, 108286(at)bugs(dot)debian(dot)org
Subject: Re: Bug#108286: case sensitivity in column names
Date: 2001-08-10 13:38:55
Message-ID: KETIL-vk1hevg9gr4.fsf@eris.bgo.nera.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-odbc


"Oliver Elphick" <olly(at)lfix(dot)co(dot)uk> writes:

> You must have created the table in PostgreSQL using quoted names for
> the column (but not for the table, since PostgreSQL matches
> FaultAttributes with faultattributes).

Yep.

> Why not dump and recreate your database, but edit the dumpfile to
> remove the double-quotes and thus force the names to become
> case-insensitive? Then it won't matter that OleDB is sending garbage.

I've tried to pass double quotes through OleDB, but it doesn't seem to
work. On the other hand, double quotes do work with SQL
statements through (I assume) ODBC.

So to sum up,
recreated database without quotes (changing a few names that
clashed),
and
changing direct SQL queries to not quote names

did the trick (mostly).

What remains of the wishlist item is, I guess, a wish for a case sensitive
OleDB driver. Thanks for your help in clarifying things!

-kzm
--
If I haven't seen further, it is by standing in the footprints of giants

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-08-10 13:48:13 Re: Re: Bug#108286: case sensitivity in column names
Previous Message Andrew Gould 2001-08-10 13:11:47 <Long> pg_xlog directory filled file system

Browse pgsql-odbc by date

  From Date Subject
Next Message Tom Lane 2001-08-10 13:48:13 Re: Re: Bug#108286: case sensitivity in column names
Previous Message Bhuvan A 2001-08-10 11:17:18 Re: INSERT FOLLOW WITH OTHER INSERT