Re: SQL server application porting headache - Mailing list pgsql-general

From Oskar Berggren
Subject Re: SQL server application porting headache
Date
Msg-id 3D17BE2C.7010902@sgs.o.se
Whole thread Raw
In response to Re: SQL server application porting headache  ("Peter Darley" <pdarley@kinesis-cem.com>)
List 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@sgs.o.se                                   |
| Network and Software Engineer                     SGS Datanätgrupp   |
|                                                   Gothenburg, Sweden |
\----------------------------------------------------------------------/




pgsql-general by date:

Previous
From: Oskar Berggren
Date:
Subject: Re: SQL server application porting headache
Next
From: Oskar Berggren
Date:
Subject: Re: SQL server application porting headache