Re: Question about non-blocking mode in libpq - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Question about non-blocking mode in libpq
Date
Msg-id ZUEyKtrtl3IoTwWW@momjian.us
Whole thread Raw
In response to Re: Question about non-blocking mode in libpq  (Yugo NAGATA <nagata@sraoss.co.jp>)
Responses Re: Question about non-blocking mode in libpq
List pgsql-hackers
On Wed, Jul 21, 2021 at 10:15:09AM +0900, Yugo NAGATA wrote:
> I understood that, although PQgetResult() also flushes the buffer, we still
> should call PQflush() beforehand because we would not like get blocked after
> calling PQgetResult(). Thanks.

I modified your patch, attached, that I would like to apply to all
supported versions.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  Only you can decide what is important to you.

Attachment

pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: Fix search_path for all maintenance commands
Next
From: John Morris
Date:
Subject: Re: Add the ability to limit the amount of memory that can be allocated to backends.