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

From Tom Lane
Subject Re: Question about non-blocking mode in libpq
Date
Msg-id 2604997.1698775114@sss.pgh.pa.us
Whole thread Raw
In response to Re: Question about non-blocking mode in libpq  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Question about non-blocking mode in libpq  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> I modified your patch, attached, that I would like to apply to all
> supported versions.

This seems to have lost the information about what to do if these
functions fail.  I think probably the only possible failure cause
in nonblock mode is "unable to enlarge the buffer because OOM",
but that's certainly not the same thing as "cannot fail".

            regards, tom lane



pgsql-hackers by date:

Previous
From: Isaac Morland
Date:
Subject: Re: Fix search_path for all maintenance commands
Next
From: Corey Huinker
Date:
Subject: Re: Document efficient self-joins / UPDATE LIMIT techniques.