Thread: Bug Report

Bug Report

From
"Zongliang, Quan"
Date:
In pgServer.cpp, Line 752:

    if (executed)
    {
        password = newVal;
        StorePassword();
--->    return false;
    }
    else
        return false;

Although the passwd had been changed successfully with "Change Password"
dialog. "The password could not be changed!" message always popup.

Line 756 should be "return true";

Regards.
Quan

-----------------------------------------------
Zongliang, Quan
quanzongliang@gmail.com,quanzongliang@hotmail.com
Admin by
http://postgresql.oss.tw
http://postgresql-chinese.blogspot.com


Re: Bug Report

From
Dave Page
Date:
Zongliang, Quan wrote:
> In pgServer.cpp, Line 752:
>
>     if (executed)
>     {
>         password = newVal;
>         StorePassword();
> --->    return false;
>     }
>     else
>         return false;
>
> Although the passwd had been changed successfully with "Change Password"
> dialog. "The password could not be changed!" message always popup.
>
> Line 756 should be "return true";

Thanks, I've committed a fix for this and some related issues.

Regards, Dave