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 16:25:10
Message-ID: 18372.1072628710@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:
> I reproduced this problem with 7.5 head backend and libpq under win32
> and Linux, and found that the problem is pqParseInput3 expecting a
> message length >= 30000 only for message types 'T', 'D' and 'd', but not
> 'N'.

Oops. Good catch.

regards, tom lane

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Tom Lane 2003-12-28 17:46:07 Re: [PATCHES] libpq endless loop if client_min_messages=debug1
Previous Message Andreas Pflug 2003-12-28 11:31:42 libpq endless loop if client_min_messages=debug1

Browse pgadmin-support by date

  From Date Subject
Next Message Andreas Pflug 2003-12-28 16:57:44 Re: V 1.0.2 (Windows) multi-value Database Variables
Previous Message Jean-Michel POURE 2003-12-28 13:26:27 Re: SuSE 9.0 ... Works!

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2003-12-28 17:46:07 Re: [PATCHES] libpq endless loop if client_min_messages=debug1
Previous Message Tony Reina 2003-12-28 13:54:30 Re: Connecting to Postgres