Re: SQL server application porting headache

Поиск
Список
Период
Сортировка
От Oskar Berggren
Тема Re: SQL server application porting headache
Дата
Msg-id 3D17BE2C.7010902@sgs.o.se
обсуждение исходный текст
Ответ на Re: SQL server application porting headache  ("Peter Darley" <pdarley@kinesis-cem.com>)
Список 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 по дате отправления:

Предыдущее
От: Oskar Berggren
Дата:
Сообщение: Re: SQL server application porting headache
Следующее
От: Oskar Berggren
Дата:
Сообщение: Re: SQL server application porting headache