Re: SQL server application porting headache

From: Oskar Berggren <beo(at)sgs(dot)o(dot)se>
To: Peter Darley <pdarley(at)kinesis-cem(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: SQL server application porting headache
Date: 2002-06-25 00:49:48
Message-ID: 3D17BE2C.7010902@sgs.o.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Peter Darley wrote:
> Oskar,
> Instead of changing the application or changing PostgreSQL internals, can't
> you just change the table names to match the queries that are being used?
> Or is the app creating tables as it runs or something?
> Thanks,
> Peter Darley

No, since the application isn't consistent in its identifiers casing,
nor in its use of quotes. For example it issues the following
query:

SELECT "PassWord" FROM "Operators" WHERE Password='...';

There is no way PostgreSQL is gonna accept that without modifying
either PostgreSQL or the application, or possibly, as was suggested
elsewhere, make the ODBC driver lowercase every identifier, quoted
or not.

regards,
Oskar

--
/----------------------------------------------------------------------\
| Oskar Berggren beo(at)sgs(dot)o(dot)se |
| Network and Software Engineer SGS Datanätgrupp |
| Gothenburg, Sweden |
\----------------------------------------------------------------------/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Oskar Berggren 2002-06-25 00:59:33 Re: SQL server application porting headache
Previous Message Stephan Szabo 2002-06-25 00:46:32 Re: SERIAL and RULE of "ON INSERT" kind