Skip site navigation (1) Skip section navigation (2)

Re: bug on debian... what's wrong with me ?

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Raphaël Enrici <blacknoz(at)club-internet(dot)fr>
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: bug on debian... what's wrong with me ?
Date: 2004-11-21 17:48:27
Message-ID: 41A0D4EB.4040401@pse-consulting.de (view raw or flat)
Thread:
Lists: pgadmin-hackers
Raphaël Enrici wrote:
> Andreas Pflug wrote:
> 
>> Raphaël Enrici wrote:
>>
>>>>>>
>>>>>>> I can't login to the database with RC2 and Debian. I have a 
>>>>>>> wxWidgets assert. Did I miss something or should I try the 
>>>>>>> --disable-beer ?
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>> #8  0x086317e5 in wxWcstr ()
>>> #9  0x0862ba87 in wxString::wxString ()
>>> #10 0x081b062b in pgConn::GetLastError (this=0x5) at string.h:919
>>> #11 0x08216ea2 in pgServer::GetLastError (this=0x8c9f560) at 
>>> string.h:228
>>
>>
>>
>> Possibly PQerrorMessage from the libpq version you're using is 
>> returning NULL under some circumstances; catching it doesn't hurt so 
>> please try the new pgConn.cpp.
> 
> 
> nope :( it does not solve the problem. But I think you were on the good 
> way... Here is the error message reported by psql:
> 
> $ psql -d template1 -h localhost
> psql: could not connect to server: ��ٷ
>         Is the server running on host "localhost" and accepting
>         TCP/IP connections on port 5432?
> 
> 
> $ psql -d template1 -h localhost 2>&1 | cat -vet
> psql: could not connect to server: M-^HM-^]M-YM-7$
> ^IIs the server running on host "localhost" and accepting$
> ^ITCP/IP connections on port 5432?$
> 
> 
> I found the right part of the message really strange and decided to take 
>  a look to debian bugs... It seems you were right :) Take a look at bug 
> #277757 [1].
> Apparently it's fixed upstream now and I bet there will be an update. 
> BTW, it may be good if we could prevent this libpq bug from altering 
> pgA3 runability.

IMHO making pga3 dependent on the yet-to-come corrected libpq version 
should be enough. I don't have a good idea how to catch this.

Regards,
Andreas


In response to

Responses

pgadmin-hackers by date

Next:From: Andreas PflugDate: 2004-11-21 18:04:54
Subject: RFC: Update wizard
Previous:From: Andreas PflugDate: 2004-11-21 17:47:08
Subject: Re: Fix for "q" with psql display paging dumps

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group