Re: Password setting having somewhat bizarre results.

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Dinesh Kumar <dinesh(dot)kumar(at)enterprisedb(dot)com>
Cc: "pgadmin-support(at)postgresql(dot)org" <pgadmin-support(at)postgresql(dot)org>, John Foelster <johnfoelster(at)comcast(dot)net>, Dhiraj Chawla <dhiraj(dot)chawla(at)enterprisedb(dot)com>
Subject: Re: Password setting having somewhat bizarre results.
Date: 2013-08-20 07:32:38
Message-ID: CA+OCxoz_Cz+iooJJO9329z3wqHk=+hR6sCTfhd19J53=6e7_kA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Thanks Dinesh - patch applied.

I noticed one other issue in the role dialogue that I'd like you or Dhiraj
to look at please. On my Mac, if I open the properties for a role with no
VALID UNTIL date set, it's setting the date in the dialogue to the current
date and generating the SQL to make that change. It should leave the date
empty of course, and not generate any SQL until the user actually changes
something.

Thanks!

On Wed, Aug 14, 2013 at 8:35 PM, Dinesh Kumar <dinesh(dot)kumar(at)enterprisedb(dot)com
> wrote:

> Hi Dave,
>
> Further to my analysis on this issue, it's only get re-produced on the
> installed pgAdmin. Where as in the local debug mode, it's working as
> expected.
>
> Actual Issue
> -----------------
> When the role's authentication timeout is "infinity", then as per the
> logic we don't set any value to the "Account Expires" calendar box. If we
> have only the valid date/time, then only we do set this box with proper
> values. This is working fine as expected in the debug mode of pgAdmin.
>
> Where as in the installed pgAdmin, when the authentication timeout is
> "infinity" then it's setting the "Account Expires" calendar box with the
> Unix Epoch time in Windows 7 and (Unix Epoch time -1) in Windows 8.
>
> I have verified the code for the any variables those have not been
> initialized properly. Unfortunately, i am not able to find of those. I
> believe, the following value "wxInvalidDateTime.m_time" from datetime.h is
> giving different value in the installed pgAdmin.
>
> inline bool IsValid() const { return m_time != wxInvalidDateTime.m_time; }
>
> Hence, i have added one more condition in the dlgRole.cpp file to avoid
> this case. Please find the fix for this issue.
>
> And also, looking forward for your suggestions and inputs.
>
> Thanks in advance.
>
> Dinesh
>
> --
> *Dinesh Kumar*
> Software Engineer
>
> Ph: +918087463317
> Skype ID: dinesh.kumar432
> www.enterprisedb.co <http://www.enterprisedb.com/>m<http://www.enterprisedb.com/>
> *
> Follow us on Twitter*
> @EnterpriseDB
>
> Visit EnterpriseDB for tutorials, webinars, whitepapers<http://www.enterprisedb.com/resources-community> and
> more <http://www.enterprisedb.com/resources-community>
>
>
> On Tue, Aug 13, 2013 at 4:58 PM, Dinesh Kumar <
> dinesh(dot)kumar(at)enterprisedb(dot)com> wrote:
>
>> Hi John,
>>
>> Thank you very much for sharing the details. Yes i got the screen shots.
>>
>> Let me summarize the problem and will try to find the proper fix for this
>> issue after discussing this with our senior team members.
>>
>> Thank you once again, have a great day.
>>
>>
>>
>> Dinesh
>>
>> --
>> *Dinesh Kumar*
>> Software Engineer
>>
>> Ph: +918087463317
>> Skype ID: dinesh.kumar432
>> www.enterprisedb.co <http://www.enterprisedb.com/>m<http://www.enterprisedb.com/>
>> *
>> Follow us on Twitter*
>> @EnterpriseDB
>>
>> Visit EnterpriseDB for tutorials, webinars, whitepapers<http://www.enterprisedb.com/resources-community> and
>> more <http://www.enterprisedb.com/resources-community>
>>
>>
>> On Tue, Aug 13, 2013 at 4:28 PM, John Foelster <johnfoelster(at)comcast(dot)net>wrote:
>>
>>> Not being quite sure how to get jpegs into my Comcast space, it’s been a
>>> while since I had to share a screen cap, I just sent seven to you and the
>>> list as an attachment. The message bounced back from the list… are you,
>>> Dinesh, in receipt?****
>>>
>>
>>
>

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2013-08-20 07:38:03 Re: Foreign key match is unknown when using with postgresql 9.3b2
Previous Message Neel Patel 2013-08-19 12:00:34 Re: Foreign key match is unknown when using with postgresql 9.3b2