PGA3 bug - Mailing list pgadmin-hackers

From Andreas Pflug
Subject PGA3 bug
Date
Msg-id 3E8060E4.1050908@web.de
Whole thread Raw
List pgadmin-hackers
While trying to connect to my 7.4 server on port 5440, I found some bugs.
The NumToStr(double) function will return 544 for 5440.0

the function should look like this
...
if (result.Contains(wxT(".")))
    while (result.Right(1) == "0")
        result.RemoveLast();
if (result.Right(1) == ".")
    result.RemoveLast();

The call to NumToStr in pgConn.cpp (Line 91) should be a cast to long
instead of double.

Regards,

Andreas


pgadmin-hackers by date:

Previous
From: "Dave Page"
Date:
Subject: Re: Clone object database
Next
From: "Dave Page"
Date:
Subject: Re: PGA3 bug