Re: libpq endless loop if client_min_messages=debug1 - Mailing list pgsql-patches

From Tom Lane
Subject Re: libpq endless loop if client_min_messages=debug1
Date
Msg-id 19313.1072633567@sss.pgh.pa.us
Whole thread Raw
In response to libpq endless loop if client_min_messages=debug1  (Andreas Pflug <pgadmin@pse-consulting.de>)
List pgsql-patches
Andreas Pflug <pgadmin@pse-consulting.de> writes:
> The attached patch fixes this. I wonder if there are additional message
> types that might be longer?

We should allow error messages to be long too, I guess, and I also added
NOTIFY messages since there's no telling what people might try to do
with the data payload string once we implement that.

I also fixed the underlying infinite-loop problem.

            regards, tom lane

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: libpq endless loop if client_min_messages=debug1
Next
From: Manfred Spraul
Date:
Subject: Re: update i386 spinlock for hyperthreading