public inbox for [email protected]  
help / color / mirror / Atom feed
From: Neel Patel <[email protected]>
To: Axel Rau <[email protected]>
Cc: [email protected]
Cc: pgadmin-hackers <[email protected]>
Subject: Re: [pgadmin-support] Unable to change variable of role on OS X 10.11
Date: Wed, 13 Jan 2016 18:31:32 +0530
Message-ID: <CACCA4P0s+cj8CGx6EUm9LnrCvge9HTVxrxm_M4GWP9OntGOcaw@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
List-Unsubscribe:  <mailto:[email protected]?body=unsub%20pgadmin-hackers>

Hi,

Please find the patch file for fix of above mentioned issue.
Do let us know for any comments.

Thanks,
Neel Patel

On Tue, Jan 12, 2016 at 11:22 PM, Axel Rau <[email protected]> wrote:

> Hi,
>
> thanks for maintaining pgAdmin3.
>
> I tried to change a variable of a login role and was unable to edit the
> field.
> I could not delete characters of the existing definition or add characters.
> Copying the definition into the paste buffer was also impossible.
>
> Deleting the variable and creating a new definition worked.
>
> This is pgAdmin 1.22.0 downloaded and installed on Mac OS X 10.11.2
>
> The bug existed already in the previous version.
>
> Axel
> ---
> PGP-Key:29E99DD6  ☀ +49 160 9945 7889  ☀ computing @ chaos claudius
>
>
>
> --
> Sent via pgadmin-support mailing list ([email protected])
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-support
>


-- 
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers


Attachments:

  [application/octet-stream] role.patch (375B, 3-role.patch)
  download | inline diff:
diff --git a/pgadmin/dlg/dlgRole.cpp b/pgadmin/dlg/dlgRole.cpp
index 00f6b83..69e7912 100644
--- a/pgadmin/dlg/dlgRole.cpp
+++ b/pgadmin/dlg/dlgRole.cpp
@@ -168,7 +168,7 @@ int dlgRole::Go(bool modal)
 	    wxT("SELECT rolname\n")
 	    wxT("  FROM pg_roles r\n");
 
-	varInfo.Add(wxT("role"));
+	varInfo.Add(wxT("string"));
 	cbVarname->Append(wxT("role"));
 
 	pgSet *set;


view thread (3+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: [pgadmin-support] Unable to change variable of role on OS X 10.11
  In-Reply-To: <CACCA4P0s+cj8CGx6EUm9LnrCvge9HTVxrxm_M4GWP9OntGOcaw@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox