Re: [PATCHES] libpq endless loop if client_min_messages=debug1

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
Cc: mydeja(at)achimota(dot)com, PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [PATCHES] libpq endless loop if client_min_messages=debug1
Date: 2003-12-28 17:46:07
Message-ID: 19313.1072633567@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers pgadmin-support pgsql-patches

Andreas Pflug <pgadmin(at)pse-consulting(dot)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

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2003-12-29 08:12:01 Re: [HELP bug] (control lost) while in create table
Previous Message Tom Lane 2003-12-28 16:25:10 Re: [PATCHES] libpq endless loop if client_min_messages=debug1

Browse pgadmin-support by date

  From Date Subject
Next Message Jason McKerr 2003-12-28 18:51:30 Re: SuSE 9.0 ... Works!
Previous Message Andreas Pflug 2003-12-28 17:38:30 Re: using Debian Sid

Browse pgsql-patches by date

  From Date Subject
Next Message Ron Mayer 2003-12-29 05:48:16 Re: [COMMITTERS] pgsql-server/ oc/src/sgml/datatype.sgml
Previous Message Tom Lane 2003-12-28 16:25:10 Re: [PATCHES] libpq endless loop if client_min_messages=debug1