Re: Change for connection name
От | Florian G. Pflug |
---|---|
Тема | Re: Change for connection name |
Дата | |
Msg-id | 46B4C50A.7080907@phlo.org обсуждение исходный текст |
Ответ на | Re: Change for connection name (Guillaume Lelarge <guillaume@lelarge.info>) |
Список | pgadmin-hackers |
Guillaume Lelarge wrote: > 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. Not that it really matters - but I think "db on user@host:5432" is half-way between the full url form, and something more sentence-like, e.g. "db on host:5432 as user". To me "db on user@user:port" opens the question "why seperate out the db, and stuff the rest into a string". Having said that, I'll go, shut up, and do real work again :-) greetings, Florian Pflug
В списке pgadmin-hackers по дате отправления: