Re: This may be a bug: odbc's function"check_client_encoding" have the same name with postgres's function.
В списке pgsql-odbc по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: This may be a bug: odbc's function"check_client_encoding" have the same name with postgres's function. |
| Дата | |
| Msg-id | 21805.1414540851@sss.pgh.pa.us обсуждение |
| Ответ на | Re: This may be a bug: odbc's function"check_client_encoding" have the same name with postgres's function. (Michael Paquier <michael.paquier@gmail.com>) |
| Список | pgsql-odbc |
Michael Paquier <michael.paquier@gmail.com> writes:
> On Wed, Oct 29, 2014 at 2:35 AM, rohtodeveloper <rohtodeveloper@outlook.com>
>> That's because the odbc_fdw will also call the odbc driver.
>> The follow pictures explain the situation.
> Ah, right, I completely forgot this fdw. Yeah it may be worth renaming that
> in the odbc driver... Inoue-san, Saito-san, Heikki, thoughts about the
> simple patch attached? check_client_encoding is used to extract an encoding
> name from the connection settings. Perhaps we could do better than that.
It's totally unmaintainable to expect that no global names inside the
backend will ever accidentally match global names in loaded modules.
What we need to be thinking about is why the linker is resolving the name
wrong and how that can be fixed. I'm inclined to think that this report
indicates a poor choice of link options while building the ODBC library.
regards, tom lane
В списке pgsql-odbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера