Re: Change for connection name - Mailing list pgadmin-hackers

From Guillaume Lelarge
Subject Re: Change for connection name
Date
Msg-id 46B1FCB8.6010203@lelarge.info
Whole thread Raw
In response to Re: Change for connection name  (Dave Page <dpage@postgresql.org>)
Responses Re: Change for connection name  ("Florian G. Pflug" <fgp@phlo.org>)
List pgadmin-hackers
Dave Page a écrit :
> Guillaume Lelarge wrote:
>> I received an interesting request from Kevin Macdonald a few, hum,
>> months ago. Yes, I'm not really that quick :) But I didn't forget.
>>
>> He wished to have the username on the query's window title. This is
>> interesting when you use multiple accounts. Currently, we have :
>>   Query - " + database_name + " on " + host + ":" + port
>>
>> We wish to have instead :
>>   Query - " + database_name + " on " + user + "@" + host + ":" + port
>>
>> The patch attached does exactly this. Comments ?
>
> Could use full URL style syntax perhaps (not sure if it looks too techy
> though), eg:
>
> dpage@svr.postgresql.org:5432/mydb
>

Currently, it is
  mydb on svr.postgresql.org:5432

My patch changes this to
  mydb on dpage@svr.postgresql.org:5432

So dpage@svr.postgresql.org:5432/mydb does not seem too techy for me.
Kevin, a comment ?


--
Guillaume.
<!-- http://abs.traduc.org/
     http://lfs.traduc.org/
     http://docs.postgresqlfr.org/ -->

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: Change for connection name
Next
From: Guillaume Lelarge
Date:
Subject: Re: Change for connection name