PGA3 bug

From: Andreas Pflug <Andreas(dot)Pflug(at)web(dot)de>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: PGA3 bug
Date: 2003-03-25 14:00:04
Message-ID: 3E8060E4.1050908@web.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2003-03-25 15:02:24 Re: PGA3 bug
Previous Message Dave Page 2003-03-25 08:58:56 Re: Clone object database