Is PREPARE of ecpglib thread safe?

Поиск
Список
Период
Сортировка
От Matsumura, Ryo
Тема Is PREPARE of ecpglib thread safe?
Дата
Msg-id 03040DFF97E6E54E88D3BFEE5F5480F737AC390D@G01JPEXMBYT04
обсуждение исходный текст
Ответы Re: Is PREPARE of ecpglib thread safe?
Список pgsql-hackers
Hi

I'm afraid that PREPARE of ecpglib is not thread safe.
The following global variables are modified without any locking system.
Is it unnecessary worry?

  [interfaces/ecpg/ecpglib/prepare.c]
  static int  nextStmtID = 1;
  static stmtCacheEntry *stmtCacheEntries = NULL;
  static struct declared_statement *g_declared_list;

Regards
Ryo Matsumura



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

Предыдущее
От: Amit Langote
Дата:
Сообщение: why doesn't DestroyPartitionDirectory hash_destroy?
Следующее
От: Kyotaro HORIGUCHI
Дата:
Сообщение: Re: Fix handling of unlogged tables in FOR ALL TABLES publications