RE: Reconnect a single connection used by multiple threads in embedded SQL in C application causes error.

Поиск
Список
Период
Сортировка
От egashira.yusuke@fujitsu.com
Тема RE: Reconnect a single connection used by multiple threads in embedded SQL in C application causes error.
Дата
Msg-id TYWPR01MB72027307B41182F8A12524ADFF039@TYWPR01MB7202.jpnprd01.prod.outlook.com
обсуждение исходный текст
Ответ на RE: Reconnect a single connection used by multiple threads in embedded SQL in C application causes error.  ("egashira.yusuke@fujitsu.com" <egashira.yusuke@fujitsu.com>)
Ответы Re: Reconnect a single connection used by multiple threads in embedded SQL in C application causes error.  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Список pgsql-bugs
Hi Noah,

> > Would you like to propose a patch?
>
> Sure. I will work on creating a document patch.

I reconfirmed the conditions under which this issue occurred.
Since this happens when the current connection is disconnected by another thread in a multiple threaded application,
I added an information about "the current connection in a multiple threaded application" to explain the limitations.

I attached the patch to this mail.
I reported a version of PostgreSQL 12, but this patch is based on the master branch.

Regards,
Yusuke Egashira


Вложения

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

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #17424: Build failed on disabled GNUC in Clang environment CFLAGS= -O2 -fgnuc-version=0
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #17424: Build failed on disabled GNUC in Clang environment CFLAGS= -O2 -fgnuc-version=0