[ODBC] Static buffer is not thread safe

Поиск
Список
Период
Сортировка
От Scott Beil
Тема [ODBC] Static buffer is not thread safe
Дата
Msg-id 877641750-63580@mail.800link.com
обсуждение исходный текст
Список pgsql-odbc
Hi psqlODBC Team,

A few days ago, I sent an email with the subject '"relation does not exist" errors with psqlODBC' which described an intermittent error I observed and included a demo project to recreate the problem. The error was 'column "column_name" of relation "table_name" does not exist'.

I haven't heard anything back so I don't know what the status is, but I have found the source of the problem. In the misc.c source file, the function quote_table() declares a static buffer that is not thread safe:

static char buf[200];

Thanks,

Scott

В списке pgsql-odbc по дате отправления:

Предыдущее
От: Malik Al-RaWahi
Дата:
Сообщение: [ODBC] postgresql odbc
Следующее
От: hiroshi@winpg.jp (Hiroshi Saito)
Дата:
Сообщение: [ODBC] psqlODBC 09.06.0410 Released