Re: Database selector

Lists: pgadmin-support
From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgadmin-support(at)postgresql(dot)org
Subject: Making SQL-pane $$ aware?
Date: 2010-10-22 18:29:29
Message-ID: 4CC1D809.2070301@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-support

Guys,

How tricky would it be to make the SQL pane aware of $$ escaping for
text highlighting?

Hmm. Now that I think of it, it would be good to turn this on and off.
The current lack of awareness actually makes it easier to compose SPs.

--
-- Josh Berkus
PostgreSQL Experts Inc.
http://www.pgexperts.com


From: Dave Page <dpage(at)pgadmin(dot)org>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: Making SQL-pane $$ aware?
Date: 2010-10-22 18:35:53
Message-ID: AANLkTi=k_DxBCPMemJ1Q5XBJRspZkW7Y+31S2+Mk2ibO@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-support

On Fri, Oct 22, 2010 at 7:29 PM, Josh Berkus <josh(at)agliodbs(dot)com> wrote:
> Guys,
>
> How tricky would it be to make the SQL pane aware of $$ escaping for
> text highlighting?
>
> Hmm.  Now that I think of it, it would be good to turn this on and off.
>  The current lack of awareness actually makes it easier to compose SPs.

Pretty darn hard actually. The lexer is part of wxWidgets, and is a
generic SQL lexer. We have to write our own (probably clean-room
style, because of the licencing). I was toying with doing that anyway,
as it would be nice to have it understand plpgsql and pgscript, though
I have zero time for it unfortunately.

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

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


From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgadmin-support(at)postgresql(dot)org
Subject: Re: Making SQL-pane $$ aware?
Date: 2010-10-22 18:42:51
Message-ID: 4CC1DB2B.1090107@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-support


> Pretty darn hard actually. The lexer is part of wxWidgets, and is a
> generic SQL lexer. We have to write our own (probably clean-room
> style, because of the licencing). I was toying with doing that anyway,
> as it would be nice to have it understand plpgsql and pgscript, though
> I have zero time for it unfortunately.

OK. I don't think it's as valuable as other stuff people could be
working on. Like fixing the database selector, for example. ;-)

--
-- Josh Berkus
PostgreSQL Experts Inc.
http://www.pgexperts.com


From: Dave Page <dpage(at)pgadmin(dot)org>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: Making SQL-pane $$ aware?
Date: 2010-10-22 18:45:38
Message-ID: AANLkTi=HO+ocu3m_PSQMsG82FN5gfSicpRceu-aoCkDw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-support

On Fri, Oct 22, 2010 at 7:42 PM, Josh Berkus <josh(at)agliodbs(dot)com> wrote:
>
>> Pretty darn hard actually. The lexer is part of wxWidgets, and is a
>> generic SQL lexer. We have to write our own (probably clean-room
>> style, because of the licencing). I was toying with doing that anyway,
>> as it would be nice to have it understand plpgsql and pgscript, though
>> I have zero time for it unfortunately.
>
> OK.  I don't think it's as valuable as other stuff people could be
> working on.  Like fixing the database selector, for example.  ;-)

I thought Guillaume had fixed it. Is it still borked?

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

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


From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: Making SQL-pane $$ aware?
Date: 2010-10-22 18:48:06
Message-ID: 4CC1DC66.6000406@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-support


> I thought Guillaume had fixed it. Is it still borked?

It is in my OSX version. Not sure what version I have installed,
because "About" is broken.

--
-- Josh Berkus
PostgreSQL Experts Inc.
http://www.pgexperts.com


From: Dave Page <dpage(at)pgadmin(dot)org>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: Making SQL-pane $$ aware?
Date: 2010-10-22 18:50:31
Message-ID: AANLkTimjuV4iiE3NwXkyeajUghc1ctjyQp6rjma3Q57A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-support

On Fri, Oct 22, 2010 at 7:48 PM, Josh Berkus <josh(at)agliodbs(dot)com> wrote:
>
>> I thought Guillaume had fixed it. Is it still borked?
>
> It is in my OSX version.  Not sure what version I have installed,
> because "About" is broken.

:-o

What on earth did you do to it?

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

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


From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: Making SQL-pane $$ aware?
Date: 2010-10-22 18:54:09
Message-ID: 4CC1DDD1.6030100@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-support


> What on earth did you do to it?

Just installed the 9.0 compatible version from packages. Pretty sure I
downloaded this while 9.0 was in RC.

--
-- Josh Berkus
PostgreSQL Experts Inc.
http://www.pgexperts.com


From: Dave Page <dpage(at)pgadmin(dot)org>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: Making SQL-pane $$ aware?
Date: 2010-10-22 18:55:41
Message-ID: AANLkTi=3+S99xkYW2W8Wpej4Ywb6Y72iqNqud6aevi7_@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-support

On Fri, Oct 22, 2010 at 7:54 PM, Josh Berkus <josh(at)agliodbs(dot)com> wrote:
>
>> What on earth did you do to it?
>
> Just installed the 9.0 compatible version from packages.  Pretty sure I
> downloaded this while 9.0 was in RC.

Our packages? In any case, please try 1.12.1.

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

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


From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, pgadmin-support(at)postgresql(dot)org
Subject: Re: Making SQL-pane $$ aware?
Date: 2010-10-22 21:00:45
Message-ID: 4CC1FB7D.4090203@lelarge.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-support

Le 22/10/2010 11:50, Dave Page a écrit :
> On Fri, Oct 22, 2010 at 7:48 PM, Josh Berkus <josh(at)agliodbs(dot)com> wrote:
>>
>>> I thought Guillaume had fixed it. Is it still borked?
>>
>> It is in my OSX version. Not sure what version I have installed,
>> because "About" is broken.
>
> :-o
>
> What on earth did you do to it?
>

Depends on where you look at it. I mean, the about menu item in the
query tool is broken. The same in the main window is working. I should
say that I didn't use pgAdmin on Mac OS X since quite some time. When I
get back to France, I really need to make sure I can build pgAdmin on
Mac OS X again.

--
Guillaume
http://www.postgresql.fr
http://dalibo.com


From: Dave Page <dpage(at)pgadmin(dot)org>
To: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, pgadmin-support(at)postgresql(dot)org
Subject: Re: Making SQL-pane $$ aware?
Date: 2010-10-23 07:06:39
Message-ID: AANLkTi=z59QCmUEyh+Dn=jT1s89+EPZ5_A1qFVjMwrsj@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-support

On Fri, Oct 22, 2010 at 10:00 PM, Guillaume Lelarge
<guillaume(at)lelarge(dot)info> wrote:
> Le 22/10/2010 11:50, Dave Page a écrit :
>> On Fri, Oct 22, 2010 at 7:48 PM, Josh Berkus <josh(at)agliodbs(dot)com> wrote:
>>>
>>>> I thought Guillaume had fixed it. Is it still borked?
>>>
>>> It is in my OSX version.  Not sure what version I have installed,
>>> because "About" is broken.
>>
>> :-o
>>
>> What on earth did you do to it?
>>
>
> Depends on where you look at it. I mean, the about menu item in the
> query tool is broken. The same in the main window is working. I should
> say that I didn't use pgAdmin on Mac OS X since quite some time. When I
> get back to France, I really need to make sure I can build pgAdmin on
> Mac OS X again.

Oh, grrr. That's OSX adding menu options on it's own. We don't include
About except on the main form. I guess we'll need to add it.

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

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


From: Erwin Brandstetter <brsaweda(at)gmail(dot)com>
To: pgadmin-support(at)postgresql(dot)org
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, Dave Page <dpage(at)pgadmin(dot)org>, Guillaume Lelarge <guillaume(at)lelarge(dot)info>
Subject: Database selector (was: Re: Making SQL-pane $$ aware?)
Date: 2010-10-27 00:11:52
Message-ID: 74e4230a-e39c-4935-bfc2-6997dc2158d3@u10g2000yqk.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-support

On Oct 22, 8:45 pm, dp(dot)(dot)(dot)(at)pgadmin(dot)org (Dave Page) wrote:
> On Fri, Oct 22, 2010 at 7:42 PM, Josh Berkus <j(dot)(dot)(dot)(at)agliodbs(dot)com> wrote:
>
> >> Pretty darn hard actually. The lexer is part of wxWidgets, and is a
> >> generic SQL lexer. We have to write our own (probably clean-room
> >> style, because of the licencing). I was toying with doing that anyway,
> >> as it would be nice to have it understand plpgsql and pgscript, though
> >> I have zero time for it unfortunately.
>
> > OK.  I don't think it's as valuable as other stuff people could be
> > working on.  Like fixing the database selector, for example.  ;-)
>
> I thought Guillaume had fixed it. Is it still borked?

If you talk about ticket #232 "Smart defaults for new connection in
query tool" I may be able to shed some light on that as I brought that
up in the first place.
Guillaume wrote a fix, and it looks good, but for an unknown reason it
has been reserved for v1.14. (It certainly is not in the current
version.)
Or did you mean something else entirely?

Regards
Erwin


From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Erwin Brandstetter <brsaweda(at)gmail(dot)com>
Cc: pgadmin-support(at)postgresql(dot)org, Josh Berkus <josh(at)agliodbs(dot)com>, Dave Page <dpage(at)pgadmin(dot)org>
Subject: Re: Database selector
Date: 2010-10-27 15:51:45
Message-ID: 4CC84A91.9040107@lelarge.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-support

Le 26/10/2010 17:11, Erwin Brandstetter a écrit :
> On Oct 22, 8:45 pm, dp(dot)(dot)(dot)(at)pgadmin(dot)org (Dave Page) wrote:
>> On Fri, Oct 22, 2010 at 7:42 PM, Josh Berkus <j(dot)(dot)(dot)(at)agliodbs(dot)com> wrote:
>>
>>>> Pretty darn hard actually. The lexer is part of wxWidgets, and is a
>>>> generic SQL lexer. We have to write our own (probably clean-room
>>>> style, because of the licencing). I was toying with doing that anyway,
>>>> as it would be nice to have it understand plpgsql and pgscript, though
>>>> I have zero time for it unfortunately.
>>
>>> OK. I don't think it's as valuable as other stuff people could be
>>> working on. Like fixing the database selector, for example. ;-)
>>
>> I thought Guillaume had fixed it. Is it still borked?
>
> If you talk about ticket #232 "Smart defaults for new connection in
> query tool" I may be able to shed some light on that as I brought that
> up in the first place.
> Guillaume wrote a fix, and it looks good, but for an unknown reason it
> has been reserved for v1.14. (It certainly is not in the current
> version.)

I commited it only on the master branch because this is not a bugfix.
It's a new behaviour on something that works, hence it's in the dev branch.

--
Guillaume
http://www.postgresql.fr
http://dalibo.com


From: Erwin Brandstetter <brsaweda(at)gmail(dot)com>
To: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
Cc: pgadmin-support(at)postgresql(dot)org, Josh Berkus <josh(at)agliodbs(dot)com>, Dave Page <dpage(at)pgadmin(dot)org>
Subject: Re: Database selector
Date: 2010-10-27 17:12:10
Message-ID: 4CC85D6A.5070306@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-support

On 27.10.2010 17:51, Guillaume Lelarge wrote:
> Le 26/10/2010 17:11, Erwin Brandstetter a écrit :
>> On Oct 22, 8:45 pm, dp(dot)(dot)(dot)(at)pgadmin(dot)org (Dave Page) wrote:
>>> On Fri, Oct 22, 2010 at 7:42 PM, Josh Berkus<j(dot)(dot)(dot)(at)agliodbs(dot)com> wrote:
>>> (...)
>>>> OK. I don't think it's as valuable as other stuff people could be
>>>> working on. Like fixing the database selector, for example. ;-)
>>> I thought Guillaume had fixed it. Is it still borked?
>> If you talk about ticket #232 "Smart defaults for new connection in
>> query tool" I may be able to shed some light on that as I brought that
>> up in the first place.
>> Guillaume wrote a fix, and it looks good, but for an unknown reason it
>> has been reserved for v1.14. (It certainly is not in the current
>> version.)
> I commited it only on the master branch because this is not a bugfix.
> It's a new behaviour on something that works, hence it's in the dev branch.

As far as I am concerned, it would be welcome as bugfix in 1.12, as the present behaviour is a nuisance. Given there wasn't some misunderstanding,
Josh felt the same way.
But your mileage may vary ...

Regards
Erwin


From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Erwin Brandstetter <brsaweda(at)gmail(dot)com>
Cc: pgadmin-support(at)postgresql(dot)org, Josh Berkus <josh(at)agliodbs(dot)com>, Dave Page <dpage(at)pgadmin(dot)org>, Magnus Hagander <magnus(at)hagander(dot)net>
Subject: Re: Database selector
Date: 2010-10-28 04:25:48
Message-ID: 4CC8FB4C.4000307@lelarge.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-support

Le 27/10/2010 10:12, Erwin Brandstetter a écrit :
> On 27.10.2010 17:51, Guillaume Lelarge wrote:
>> Le 26/10/2010 17:11, Erwin Brandstetter a écrit :
>>> On Oct 22, 8:45 pm, dp(dot)(dot)(dot)(at)pgadmin(dot)org (Dave Page) wrote:
>>>> On Fri, Oct 22, 2010 at 7:42 PM, Josh Berkus<j(dot)(dot)(dot)(at)agliodbs(dot)com> wrote:
>>>> (...)
>>>>> OK. I don't think it's as valuable as other stuff people could be
>>>>> working on. Like fixing the database selector, for example. ;-)
>>>> I thought Guillaume had fixed it. Is it still borked?
>>> If you talk about ticket #232 "Smart defaults for new connection in
>>> query tool" I may be able to shed some light on that as I brought that
>>> up in the first place.
>>> Guillaume wrote a fix, and it looks good, but for an unknown reason it
>>> has been reserved for v1.14. (It certainly is not in the current
>>> version.)
>> I commited it only on the master branch because this is not a bugfix.
>> It's a new behaviour on something that works, hence it's in the dev
>> branch.
>
> As far as I am concerned, it would be welcome as bugfix in 1.12, as the
> present behaviour is a nuisance. Given there wasn't some
> misunderstanding, Josh felt the same way.
> But your mileage may vary ...
>

Dave, Magnus, any opinion on this?

It sure isn't a lot of code, and one can think it is a bugfix. Not
really my opinion, but I don't object to apply it on 1.12.

FYI:
http://code.pgadmin.org/trac/ticket/232

http://github.com/gleu/pgadmin3/commit/8c358a7ead668bc7b2f7c845ab83b4b3c8f4d1aa

--
Guillaume
http://www.postgresql.fr
http://dalibo.com


From: Dave Page <dpage(at)pgadmin(dot)org>
To: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
Cc: Erwin Brandstetter <brsaweda(at)gmail(dot)com>, pgadmin-support(at)postgresql(dot)org, Josh Berkus <josh(at)agliodbs(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>
Subject: Re: Database selector
Date: 2010-10-28 07:33:09
Message-ID: AANLkTin3on-EyEHtGEPs0o8wP3bMU_o+UYqKk0iKPy5y@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-support

On Thu, Oct 28, 2010 at 5:25 AM, Guillaume Lelarge
<guillaume(at)lelarge(dot)info> wrote:
> Dave, Magnus, any opinion on this?
>
> It sure isn't a lot of code, and one can think it is a bugfix. Not
> really my opinion, but I don't object to apply it on 1.12.
>
> FYI:
>  http://code.pgadmin.org/trac/ticket/232
>
> http://github.com/gleu/pgadmin3/commit/8c358a7ead668bc7b2f7c845ab83b4b3c8f4d1aa

I think we can consider it a bug. It may not actually be a crash or
anything, but it's certainly a UI design issue.

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

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


From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: Erwin Brandstetter <brsaweda(at)gmail(dot)com>, pgadmin-support(at)postgresql(dot)org, Josh Berkus <josh(at)agliodbs(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>
Subject: Re: Database selector
Date: 2010-10-29 06:21:43
Message-ID: 4CCA67F7.9020505@lelarge.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-support

Le 28/10/2010 00:33, Dave Page a écrit :
> On Thu, Oct 28, 2010 at 5:25 AM, Guillaume Lelarge
> <guillaume(at)lelarge(dot)info> wrote:
>> Dave, Magnus, any opinion on this?
>>
>> It sure isn't a lot of code, and one can think it is a bugfix. Not
>> really my opinion, but I don't object to apply it on 1.12.
>>
>> FYI:
>> http://code.pgadmin.org/trac/ticket/232
>>
>> http://github.com/gleu/pgadmin3/commit/8c358a7ead668bc7b2f7c845ab83b4b3c8f4d1aa
>
> I think we can consider it a bug. It may not actually be a crash or
> anything, but it's certainly a UI design issue.
>

Done.

--
Guillaume
http://www.postgresql.fr
http://dalibo.com


From: Erwin Brandstetter <brsaweda(at)gmail(dot)com>
To: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: Database selector
Date: 2010-12-28 17:41:18
Message-ID: 4D1A213E.4050907@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-support

On 29.10.2010 08:21, Guillaume Lelarge wrote:
> Le 28/10/2010 00:33, Dave Page a écrit :
>> On Thu, Oct 28, 2010 at 5:25 AM, Guillaume Lelarge
>> <guillaume(at)lelarge(dot)info> wrote:
>>> Dave, Magnus, any opinion on this?
>>>
>>> It sure isn't a lot of code, and one can think it is a bugfix. Not
>>> really my opinion, but I don't object to apply it on 1.12.
>>>
>>> FYI:
>>> http://code.pgadmin.org/trac/ticket/232
>>>
>>> http://github.com/gleu/pgadmin3/commit/8c358a7ead668bc7b2f7c845ab83b4b3c8f4d1aa
>> I think we can consider it a bug. It may not actually be a crash or
>> anything, but it's certainly a UI design issue.
>>
> Done.

I did some checks on fixes for 1.12.2 and found that this does not seem to be in the new version .. ?

Regards
Erwin


From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Erwin Brandstetter <brsaweda(at)gmail(dot)com>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: Database selector
Date: 2010-12-28 18:01:36
Message-ID: 4D1A2600.7050005@lelarge.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-support

Le 28/12/2010 18:41, Erwin Brandstetter a écrit :
> On 29.10.2010 08:21, Guillaume Lelarge wrote:
>> Le 28/10/2010 00:33, Dave Page a écrit :
>>> On Thu, Oct 28, 2010 at 5:25 AM, Guillaume Lelarge
>>> <guillaume(at)lelarge(dot)info> wrote:
>>>> Dave, Magnus, any opinion on this?
>>>>
>>>> It sure isn't a lot of code, and one can think it is a bugfix. Not
>>>> really my opinion, but I don't object to apply it on 1.12.
>>>>
>>>> FYI:
>>>> http://code.pgadmin.org/trac/ticket/232
>>>>
>>>> http://github.com/gleu/pgadmin3/commit/8c358a7ead668bc7b2f7c845ab83b4b3c8f4d1aa
>>>>
>>> I think we can consider it a bug. It may not actually be a crash or
>>> anything, but it's certainly a UI design issue.
>>>
>> Done.
>
> I did some checks on fixes for 1.12.2 and found that this does not seem
> to be in the new version .. ?
>

It should be. It is in the CHANGELOG:

2010-10-28 GL 1.12.2 Select old values when connecting to another server.

and on git:

commit 9cb216f9a67838e041e65fd0f9fead425cdfe8b1
Author: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
Date: Thu Sep 9 23:26:23 2010 +0200

Select old values when connecting to another server

When a user selects another server, the database and user comboboxes are
cleared and filled again with the new values. The last selected item
for both
comboboxes should be selected if they are still present.

Fixes #232.

--
Guillaume
http://www.postgresql.fr
http://dalibo.com


From: Erwin Brandstetter <brsaweda(at)gmail(dot)com>
To: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: Database selector
Date: 2010-12-28 19:18:48
Message-ID: 4D1A3818.5010705@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-support

On 28.12.2010 19:01, Guillaume Lelarge wrote:
> Le 28/12/2010 18:41, Erwin Brandstetter a écrit :
>> On 29.10.2010 08:21, Guillaume Lelarge wrote:
>>> Le 28/10/2010 00:33, Dave Page a écrit :
>>>> On Thu, Oct 28, 2010 at 5:25 AM, Guillaume Lelarge
>>>> <guillaume(at)lelarge(dot)info> wrote:
>>>>> Dave, Magnus, any opinion on this?
>>>>>
>>>>> It sure isn't a lot of code, and one can think it is a bugfix. Not
>>>>> really my opinion, but I don't object to apply it on 1.12.
>>>>>
>>>>> FYI:
>>>>> http://code.pgadmin.org/trac/ticket/232
>>>>>
>>>>> http://github.com/gleu/pgadmin3/commit/8c358a7ead668bc7b2f7c845ab83b4b3c8f4d1aa
>>>>>
>>>> I think we can consider it a bug. It may not actually be a crash or
>>>> anything, but it's certainly a UI design issue.
>>>>
>>> Done.
>> I did some checks on fixes for 1.12.2 and found that this does not seem
>> to be in the new version .. ?
>>
> It should be. It is in the CHANGELOG:
>
> 2010-10-28 GL 1.12.2 Select old values when connecting to another server.
>
> and on git:
>
> commit 9cb216f9a67838e041e65fd0f9fead425cdfe8b1
> Author: Guillaume Lelarge<guillaume(at)lelarge(dot)info>
> Date: Thu Sep 9 23:26:23 2010 +0200
>
> Select old values when connecting to another server
>
> When a user selects another server, the database and user comboboxes are
> cleared and filled again with the new values. The last selected item
> for both
> comboboxes should be selected if they are still present.
>
> Fixes #232.

Testing v.1.12.1 (Dec 13 2010, rev: REL-1_12_2) on Windows XP Pro, SP3
To be sure, I downloaded the latest version and upgraded. But there have been no more changes in the meantime. Connection tool still does not behave
as expected. I have tried with a couple of different databases an users.

On a closer inspection only the field "Uername" fails. "Database" seems to be filled correctly. So, something has definitely changed, but half the fix
does not seem to work as expected.

Steps to reproduce:
- Open query tool
- Select <new connetion> from the connection tool --> popup "Connect to Server" appears, "Server", "Database", "User" are filled with current values.
- Pick a new server --> new values are filled in for database and user.
"Database" behaves as expected: identical name as in current connection if available on the new server.
"Username" fails, however. Although a user of the same name is available, some other value is filled in. On the first try some (seemingly random)
username from the list of available users is picked. On subsequent tries it is always the first one on the list.

Regards
Erwin


From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Erwin Brandstetter <brsaweda(at)gmail(dot)com>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: Database selector
Date: 2011-01-06 11:23:10
Message-ID: 4D25A61E.3080609@lelarge.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-support

Le 28/12/2010 20:18, Erwin Brandstetter a écrit :
> On 28.12.2010 19:01, Guillaume Lelarge wrote:
>> Le 28/12/2010 18:41, Erwin Brandstetter a écrit :
>>> On 29.10.2010 08:21, Guillaume Lelarge wrote:
>>>> Le 28/10/2010 00:33, Dave Page a écrit :
>>>>> On Thu, Oct 28, 2010 at 5:25 AM, Guillaume Lelarge
>>>>> <guillaume(at)lelarge(dot)info> wrote:
>>>>>> Dave, Magnus, any opinion on this?
>>>>>>
>>>>>> It sure isn't a lot of code, and one can think it is a bugfix. Not
>>>>>> really my opinion, but I don't object to apply it on 1.12.
>>>>>>
>>>>>> FYI:
>>>>>> http://code.pgadmin.org/trac/ticket/232
>>>>>>
>>>>>> http://github.com/gleu/pgadmin3/commit/8c358a7ead668bc7b2f7c845ab83b4b3c8f4d1aa
>>>>>>
>>>>>>
>>>>> I think we can consider it a bug. It may not actually be a crash or
>>>>> anything, but it's certainly a UI design issue.
>>>>>
>>>> Done.
>>> I did some checks on fixes for 1.12.2 and found that this does not seem
>>> to be in the new version .. ?
>>>
>> It should be. It is in the CHANGELOG:
>>
>> 2010-10-28 GL 1.12.2 Select old values when connecting to another
>> server.
>>
>> and on git:
>>
>> commit 9cb216f9a67838e041e65fd0f9fead425cdfe8b1
>> Author: Guillaume Lelarge<guillaume(at)lelarge(dot)info>
>> Date: Thu Sep 9 23:26:23 2010 +0200
>>
>> Select old values when connecting to another server
>>
>> When a user selects another server, the database and user
>> comboboxes are
>> cleared and filled again with the new values. The last selected item
>> for both
>> comboboxes should be selected if they are still present.
>>
>> Fixes #232.
>
> Testing v.1.12.1 (Dec 13 2010, rev: REL-1_12_2) on Windows XP Pro, SP3
> To be sure, I downloaded the latest version and upgraded. But there have
> been no more changes in the meantime. Connection tool still does not
> behave as expected. I have tried with a couple of different databases an
> users.
>
> On a closer inspection only the field "Uername" fails. "Database" seems
> to be filled correctly. So, something has definitely changed, but half
> the fix does not seem to work as expected.
>
> Steps to reproduce:
> - Open query tool
> - Select <new connetion> from the connection tool --> popup "Connect
> to Server" appears, "Server", "Database", "User" are filled with current
> values.
> - Pick a new server --> new values are filled in for database and user.
> "Database" behaves as expected: identical name as in current
> connection if available on the new server.
> "Username" fails, however. Although a user of the same name is
> available, some other value is filled in. On the first try some
> (seemingly random) username from the list of available users is picked.
> On subsequent tries it is always the first one on the list.
>
>

I tried on 1.12.2+ and it just works. Are you sure you have the exact
same user? no odd spaces or invisible characters?

--
Guillaume
http://www.postgresql.fr
http://dalibo.com


From: Erwin Brandstetter <brsaweda(at)gmail(dot)com>
To: pgadmin-support(at)postgresql(dot)org
Cc: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
Subject: Re: Database selector
Date: 2011-01-10 03:50:23
Message-ID: 4D2A81FF.3040508@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-support

On 06.01.2011 12:23, Guillaume Lelarge wrote:
> Le 28/12/2010 20:18, Erwin Brandstetter a écrit :
>> (...)
>> Testing v.1.12.1 (Dec 13 2010, rev: REL-1_12_2) on Windows XP Pro, SP3
>> To be sure, I downloaded the latest version and upgraded. But there have
>> been no more changes in the meantime. Connection tool still does not
>> behave as expected. I have tried with a couple of different databases an
>> users.
>>
>> On a closer inspection only the field "Uername" fails. "Database" seems
>> to be filled correctly. So, something has definitely changed, but half
>> the fix does not seem to work as expected.
>>
>> Steps to reproduce:
>> - Open query tool
>> - Select<new connetion> from the connection tool --> popup "Connect
>> to Server" appears, "Server", "Database", "User" are filled with current
>> values.
>> - Pick a new server --> new values are filled in for database and user.
>> "Database" behaves as expected: identical name as in current
>> connection if available on the new server.
>> "Username" fails, however. Although a user of the same name is
>> available, some other value is filled in. On the first try some
>> (seemingly random) username from the list of available users is picked.
>> On subsequent tries it is always the first one on the list.
> I tried on 1.12.2+ and it just works. Are you sure you have the exact
> same user? no odd spaces or invisible characters?

I tested once more with two different sets of databases. No odd or
invisible characters.
Among other: username: "postgres", database: "event"

In each set of databases I switched between two almost identical
database clusters, the destination being a copy of the source.
Results were as described above: the matching database is filled in but
the username is lost in translation.

Maybe someone else can run a test to add evidence? It's easy: all you
need is two databases of the same name (like postgres) which share a
user of the same name (like postgres) ...

Regards
Erwin


From: Erwin Brandstetter <brsaweda(at)gmail(dot)com>
To: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: Database selector
Date: 2011-01-10 03:52:35
Message-ID: 4D2A8283.5000508@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-support

On 06.01.2011 12:23, Guillaume Lelarge wrote:
> Le 28/12/2010 20:18, Erwin Brandstetter a écrit :
>> On 28.12.2010 19:01, Guillaume Lelarge wrote:
>>> Le 28/12/2010 18:41, Erwin Brandstetter a écrit :
>>>> On 29.10.2010 08:21, Guillaume Lelarge wrote:
>>>>> Le 28/10/2010 00:33, Dave Page a écrit :
>>>>>> On Thu, Oct 28, 2010 at 5:25 AM, Guillaume Lelarge
>>>>>> <guillaume(at)lelarge(dot)info> wrote:
>>>>>>> Dave, Magnus, any opinion on this?
>>>>>>>
>>>>>>> It sure isn't a lot of code, and one can think it is a bugfix. Not
>>>>>>> really my opinion, but I don't object to apply it on 1.12.
>>>>>>>
>>>>>>> FYI:
>>>>>>> http://code.pgadmin.org/trac/ticket/232
>>>>>>>
>>>>>>> http://github.com/gleu/pgadmin3/commit/8c358a7ead668bc7b2f7c845ab83b4b3c8f4d1aa
>>>>>>>
>>>>>>>
>>>>>> I think we can consider it a bug. It may not actually be a crash or
>>>>>> anything, but it's certainly a UI design issue.
>>>>>>
>>>>> Done.
>>>> I did some checks on fixes for 1.12.2 and found that this does not seem
>>>> to be in the new version .. ?
>>>>
>>> It should be. It is in the CHANGELOG:
>>>
>>> 2010-10-28 GL 1.12.2 Select old values when connecting to another
>>> server.
>>>
>>> and on git:
>>>
>>> commit 9cb216f9a67838e041e65fd0f9fead425cdfe8b1
>>> Author: Guillaume Lelarge<guillaume(at)lelarge(dot)info>
>>> Date: Thu Sep 9 23:26:23 2010 +0200
>>>
>>> Select old values when connecting to another server
>>>
>>> When a user selects another server, the database and user
>>> comboboxes are
>>> cleared and filled again with the new values. The last selected item
>>> for both
>>> comboboxes should be selected if they are still present.
>>>
>>> Fixes #232.
>> Testing v.1.12.1 (Dec 13 2010, rev: REL-1_12_2) on Windows XP Pro, SP3
BTW, this is a typo, I tested with 1.12.2, as the rest of the string
indicates ...

Regards
Erwin


From: Erwin Brandstetter <brandstetter(at)falter(dot)at>
To: pgadmin-support(at)postgresql(dot)org
Subject: Re: Database selector
Date: 2011-08-09 23:50:33
Message-ID: 4E41C7C9.3080702@falter.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-support

On 10.01.2011 04:50, Erwin Brandstetter wrote:
> On 06.01.2011 12:23, Guillaume Lelarge wrote:
>> Le 28/12/2010 20:18, Erwin Brandstetter a écrit :
>>> (...)
>>> Testing v.1.12.1 (Dec 13 2010, rev: REL-1_12_2) on Windows XP Pro, SP3
>>> To be sure, I downloaded the latest version and upgraded. But there
>>> have
>>> been no more changes in the meantime. Connection tool still does not
>>> behave as expected. I have tried with a couple of different
>>> databases an
>>> users.
>>>
>>> On a closer inspection only the field "Uername" fails. "Database" seems
>>> to be filled correctly. So, something has definitely changed, but half
>>> the fix does not seem to work as expected.
>>>
>>> Steps to reproduce:
>>> - Open query tool
>>> - Select<new connetion> from the connection tool --> popup "Connect
>>> to Server" appears, "Server", "Database", "User" are filled with
>>> current
>>> values.
>>> - Pick a new server --> new values are filled in for database and
>>> user.
>>> "Database" behaves as expected: identical name as in current
>>> connection if available on the new server.
>>> "Username" fails, however. Although a user of the same name is
>>> available, some other value is filled in. On the first try some
>>> (seemingly random) username from the list of available users is picked.
>>> On subsequent tries it is always the first one on the list.
>> I tried on 1.12.2+ and it just works. Are you sure you have the exact
>> same user? no odd spaces or invisible characters?
>
> I tested once more with two different sets of databases. No odd or
> invisible characters.
> Among other: username: "postgres", database: "event"
>
> In each set of databases I switched between two almost identical
> database clusters, the destination being a copy of the source.
> Results were as described above: the matching database is filled in
> but the username is lost in translation.
>
> Maybe someone else can run a test to add evidence? It's easy: all you
> need is two databases of the same name (like postgres) which share a
> user of the same name (like postgres) ...

The recent case of "pkAscending not initialized" made me think. This one
is just like the other: Guillaume cannot see the error I get on Windows
XP. Maybe another variable not initialized?

Testing in pgAdmin 1.14.0 Beta 3 on Win XP Pro. pg 8.4.8 and 9.0.4. I
tried a couple of combinations on two completely different PCs.
The issue is still there. I get a random pick (but the same under
identical circumstances) in the field "Username" where I would expect
the same username as in the present connection, which is available at
the new "server".

This may seem unimportant, but if you use the feature a lot, switching
back an forth between test and productive servers with many roles, it is
a nuisance.

Regards
Erwin


From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Erwin Brandstetter <brandstetter(at)falter(dot)at>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: Database selector
Date: 2011-08-11 21:33:43
Message-ID: 1313098423.6322.40.camel@laptop
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-support

On Wed, 2011-08-10 at 01:50 +0200, Erwin Brandstetter wrote:
> On 10.01.2011 04:50, Erwin Brandstetter wrote:
> > On 06.01.2011 12:23, Guillaume Lelarge wrote:
> >> Le 28/12/2010 20:18, Erwin Brandstetter a écrit :
> >>> (...)
> >>> Testing v.1.12.1 (Dec 13 2010, rev: REL-1_12_2) on Windows XP Pro, SP3
> >>> To be sure, I downloaded the latest version and upgraded. But there
> >>> have
> >>> been no more changes in the meantime. Connection tool still does not
> >>> behave as expected. I have tried with a couple of different
> >>> databases an
> >>> users.
> >>>
> >>> On a closer inspection only the field "Uername" fails. "Database" seems
> >>> to be filled correctly. So, something has definitely changed, but half
> >>> the fix does not seem to work as expected.
> >>>
> >>> Steps to reproduce:
> >>> - Open query tool
> >>> - Select<new connetion> from the connection tool --> popup "Connect
> >>> to Server" appears, "Server", "Database", "User" are filled with
> >>> current
> >>> values.
> >>> - Pick a new server --> new values are filled in for database and
> >>> user.
> >>> "Database" behaves as expected: identical name as in current
> >>> connection if available on the new server.
> >>> "Username" fails, however. Although a user of the same name is
> >>> available, some other value is filled in. On the first try some
> >>> (seemingly random) username from the list of available users is picked.
> >>> On subsequent tries it is always the first one on the list.
> >> I tried on 1.12.2+ and it just works. Are you sure you have the exact
> >> same user? no odd spaces or invisible characters?
> >
> > I tested once more with two different sets of databases. No odd or
> > invisible characters.
> > Among other: username: "postgres", database: "event"
> >
> > In each set of databases I switched between two almost identical
> > database clusters, the destination being a copy of the source.
> > Results were as described above: the matching database is filled in
> > but the username is lost in translation.
> >
> > Maybe someone else can run a test to add evidence? It's easy: all you
> > need is two databases of the same name (like postgres) which share a
> > user of the same name (like postgres) ...
>
> The recent case of "pkAscending not initialized" made me think. This one
> is just like the other: Guillaume cannot see the error I get on Windows
> XP. Maybe another variable not initialized?
>

I looked into dlgSelectConnection to see if something like that could
happen. AFAICT, it doesn't.

> Testing in pgAdmin 1.14.0 Beta 3 on Win XP Pro. pg 8.4.8 and 9.0.4. I
> tried a couple of combinations on two completely different PCs.
> The issue is still there. I get a random pick (but the same under
> identical circumstances) in the field "Username" where I would expect
> the same username as in the present connection, which is available at
> the new "server".
>

Could you give me your list of databases, users, and roles? the SQL
definition would be great, but I don't need the whole databases' schema.
Only the definition of these. Maybe I could find something with that.

> This may seem unimportant, but if you use the feature a lot, switching
> back an forth between test and productive servers with many roles, it is
> a nuisance.
>

I understand. Just need a way to trigger the bug.

--
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com


From: Erwin Brandstetter <brandstetter(at)falter(dot)at>
To: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: Database selector
Date: 2011-08-12 14:20:55
Message-ID: 4E4536C7.6010306@falter.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-support

On 11.08.2011 23:33, Guillaume Lelarge wrote:
> On Wed, 2011-08-10 at 01:50 +0200, Erwin Brandstetter wrote:
>> On 10.01.2011 04:50, Erwin Brandstetter wrote:
>>> On 06.01.2011 12:23, Guillaume Lelarge wrote:
>>>> Le 28/12/2010 20:18, Erwin Brandstetter a écrit :
>>>>> (...)
>>>>> Testing v.1.12.1 (Dec 13 2010, rev: REL-1_12_2) on Windows XP Pro, SP3
>>>>> To be sure, I downloaded the latest version and upgraded. But there
>>>>> have
>>>>> been no more changes in the meantime. Connection tool still does not
>>>>> behave as expected. I have tried with a couple of different
>>>>> databases an
>>>>> users.
>>>>>
>>>>> On a closer inspection only the field "Uername" fails. "Database" seems
>>>>> to be filled correctly. So, something has definitely changed, but half
>>>>> the fix does not seem to work as expected.
>>>>>
>>>>> Steps to reproduce:
>>>>> - Open query tool
>>>>> - Select<new connetion> from the connection tool --> popup "Connect
>>>>> to Server" appears, "Server", "Database", "User" are filled with
>>>>> current
>>>>> values.
>>>>> - Pick a new server --> new values are filled in for database and
>>>>> user.
>>>>> "Database" behaves as expected: identical name as in current
>>>>> connection if available on the new server.
>>>>> "Username" fails, however. Although a user of the same name is
>>>>> available, some other value is filled in. On the first try some
>>>>> (seemingly random) username from the list of available users is picked.
>>>>> On subsequent tries it is always the first one on the list.
>>>> I tried on 1.12.2+ and it just works. Are you sure you have the exact
>>>> same user? no odd spaces or invisible characters?
>>> I tested once more with two different sets of databases. No odd or
>>> invisible characters.
>>> Among other: username: "postgres", database: "event"
>>>
>>> In each set of databases I switched between two almost identical
>>> database clusters, the destination being a copy of the source.
>>> Results were as described above: the matching database is filled in
>>> but the username is lost in translation.
>>>
>>> Maybe someone else can run a test to add evidence? It's easy: all you
>>> need is two databases of the same name (like postgres) which share a
>>> user of the same name (like postgres) ...
>> The recent case of "pkAscending not initialized" made me think. This one
>> is just like the other: Guillaume cannot see the error I get on Windows
>> XP. Maybe another variable not initialized?
>>
> I looked into dlgSelectConnection to see if something like that could
> happen. AFAICT, it doesn't.
>
>> Testing in pgAdmin 1.14.0 Beta 3 on Win XP Pro. pg 8.4.8 and 9.0.4. I
>> tried a couple of combinations on two completely different PCs.
>> The issue is still there. I get a random pick (but the same under
>> identical circumstances) in the field "Username" where I would expect
>> the same username as in the present connection, which is available at
>> the new "server".
>>
> Could you give me your list of databases, users, and roles? the SQL
> definition would be great, but I don't need the whole databases' schema.
> Only the definition of these. Maybe I could find something with that.
>
>> This may seem unimportant, but if you use the feature a lot, switching
>> back an forth between test and productive servers with many roles, it is
>> a nuisance.
>>
> I understand. Just need a way to trigger the bug.

Thanks for looking into it, Guillaume!
I will try to build a portable testcase. This has to wait a couple of days, though.

Regards
Erwin


From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Erwin Brandstetter <brandstetter(at)falter(dot)at>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: Database selector
Date: 2011-08-12 20:52:05
Message-ID: 1313182326.2094.0.camel@laptop
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgadmin-support

On Fri, 2011-08-12 at 16:20 +0200, Erwin Brandstetter wrote:
> On 11.08.2011 23:33, Guillaume Lelarge wrote:
> > On Wed, 2011-08-10 at 01:50 +0200, Erwin Brandstetter wrote:
> >> On 10.01.2011 04:50, Erwin Brandstetter wrote:
> >>> On 06.01.2011 12:23, Guillaume Lelarge wrote:
> >>>> Le 28/12/2010 20:18, Erwin Brandstetter a écrit :
> >>>>> (...)
> >>>>> Testing v.1.12.1 (Dec 13 2010, rev: REL-1_12_2) on Windows XP Pro, SP3
> >>>>> To be sure, I downloaded the latest version and upgraded. But there
> >>>>> have
> >>>>> been no more changes in the meantime. Connection tool still does not
> >>>>> behave as expected. I have tried with a couple of different
> >>>>> databases an
> >>>>> users.
> >>>>>
> >>>>> On a closer inspection only the field "Uername" fails. "Database" seems
> >>>>> to be filled correctly. So, something has definitely changed, but half
> >>>>> the fix does not seem to work as expected.
> >>>>>
> >>>>> Steps to reproduce:
> >>>>> - Open query tool
> >>>>> - Select<new connetion> from the connection tool --> popup "Connect
> >>>>> to Server" appears, "Server", "Database", "User" are filled with
> >>>>> current
> >>>>> values.
> >>>>> - Pick a new server --> new values are filled in for database and
> >>>>> user.
> >>>>> "Database" behaves as expected: identical name as in current
> >>>>> connection if available on the new server.
> >>>>> "Username" fails, however. Although a user of the same name is
> >>>>> available, some other value is filled in. On the first try some
> >>>>> (seemingly random) username from the list of available users is picked.
> >>>>> On subsequent tries it is always the first one on the list.
> >>>> I tried on 1.12.2+ and it just works. Are you sure you have the exact
> >>>> same user? no odd spaces or invisible characters?
> >>> I tested once more with two different sets of databases. No odd or
> >>> invisible characters.
> >>> Among other: username: "postgres", database: "event"
> >>>
> >>> In each set of databases I switched between two almost identical
> >>> database clusters, the destination being a copy of the source.
> >>> Results were as described above: the matching database is filled in
> >>> but the username is lost in translation.
> >>>
> >>> Maybe someone else can run a test to add evidence? It's easy: all you
> >>> need is two databases of the same name (like postgres) which share a
> >>> user of the same name (like postgres) ...
> >> The recent case of "pkAscending not initialized" made me think. This one
> >> is just like the other: Guillaume cannot see the error I get on Windows
> >> XP. Maybe another variable not initialized?
> >>
> > I looked into dlgSelectConnection to see if something like that could
> > happen. AFAICT, it doesn't.
> >
> >> Testing in pgAdmin 1.14.0 Beta 3 on Win XP Pro. pg 8.4.8 and 9.0.4. I
> >> tried a couple of combinations on two completely different PCs.
> >> The issue is still there. I get a random pick (but the same under
> >> identical circumstances) in the field "Username" where I would expect
> >> the same username as in the present connection, which is available at
> >> the new "server".
> >>
> > Could you give me your list of databases, users, and roles? the SQL
> > definition would be great, but I don't need the whole databases' schema.
> > Only the definition of these. Maybe I could find something with that.
> >
> >> This may seem unimportant, but if you use the feature a lot, switching
> >> back an forth between test and productive servers with many roles, it is
> >> a nuisance.
> >>
> > I understand. Just need a way to trigger the bug.
>
> Thanks for looking into it, Guillaume!
> I will try to build a portable testcase. This has to wait a couple of days, though.
>

No problem. Send it when you're ready.

--
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com