Re: PGA3 bug - Mailing list pgadmin-hackers

From Dave Page
Subject Re: PGA3 bug
Date
Msg-id 03AF4E498C591348A42FC93DEA9661B8259E45@mail.vale-housing.co.uk
Whole thread Raw
In response to PGA3 bug  (Andreas Pflug <Andreas.Pflug@web.de>)
List pgadmin-hackers
Thanks Andreas, update commited.

Regards, Dave.

> -----Original Message-----
> From: Andreas Pflug [mailto:Andreas.Pflug@web.de]
> Sent: 25 March 2003 14:00
> To: pgadmin-hackers@postgresql.org
> Subject: [pgadmin-hackers] PGA3 bug
>
>
> 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
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to
> majordomo@postgresql.org)
>


pgadmin-hackers by date:

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