From: | "egashira(dot)yusuke(at)fujitsu(dot)com" <egashira(dot)yusuke(at)fujitsu(dot)com> |
---|---|
To: | 'Noah Misch' <noah(at)leadboat(dot)com> |
Cc: | "'pgsql-bugs(at)lists(dot)postgresql(dot)org'" <pgsql-bugs(at)lists(dot)postgresql(dot)org> |
Subject: | RE: Reconnect a single connection used by multiple threads in embedded SQL in C application causes error. |
Date: | 2022-03-02 12:43:34 |
Message-ID: | TYWPR01MB72027307B41182F8A12524ADFF039@TYWPR01MB7202.jpnprd01.prod.outlook.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
Attachment | Content-Type | Size |
---|---|---|
add-multithreaded-note-to-ecpg-connection-document.patch | application/octet-stream | 2.5 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2022-03-02 14:50:03 | Re: BUG #17424: Build failed on disabled GNUC in Clang environment CFLAGS= -O2 -fgnuc-version=0 |
Previous Message | PG Bug reporting form | 2022-03-02 10:50:35 | BUG #17424: Build failed on disabled GNUC in Clang environment CFLAGS= -O2 -fgnuc-version=0 |