Re: Using PQexecQuery in pipeline mode produces unexpected Close messages

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
Cc: tgl(at)sss(dot)pgh(dot)pa(dot)us, daniele(dot)varrazzo(at)gmail(dot)com, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Using PQexecQuery in pipeline mode produces unexpected Close messages
Date: 2022-07-04 09:32:38
Message-ID: 20220704093238.ur3tcbuqj3wmqsqy@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

On 2022-Jul-04, Alvaro Herrera wrote:

> BTW I patch for the problem with uniqviol also (not fixed by v7). I'll
> send an updated patch in a little while.

Here it is. I ran "libpq_pipeline uniqviol" in a tight loop a few
thousand times and didn't get any error. Before these fixes, it would
fail in half a dozen iterations.

--
Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/

Attachment Content-Type Size
v8-0001-libpq-Improve-idle-state-handling-in-pipeline-mod.patch text/x-diff 24.5 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message ROSESOFT S. Hoffmann 2022-07-04 11:53:40 AW: PostgreSQL 10 initdb with locale de-x-icu fails on Windows Server 2012
Previous Message Alvaro Herrera 2022-07-04 08:49:33 Re: Using PQexecQuery in pipeline mode produces unexpected Close messages

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2022-07-04 10:18:33 Re: Handle infinite recursion in logical replication setup
Previous Message Ken Kato 2022-07-04 09:29:08 Add last_vacuum_index_scans in pg_stat_all_tables