Skip site navigation (1) Skip section navigation (2)

Change for connection name

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: pgadmin-hackers(at)postgresql(dot)org
Cc: Kevin Macdonald <kevin(dot)macdonald(at)pentura(dot)ca>
Subject: Change for connection name
Date: 2007-08-02 15:00:21
Message-ID: 46B1F185.80300@lelarge.info (view raw or flat)
Thread:
Lists: pgadmin-hackers
Hi all,

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 ?

Regards.


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

Attachment: connname.patch
Description: text/x-patch (512 bytes)

Responses

pgadmin-hackers by date

Next:From: Dave PageDate: 2007-08-02 15:31:57
Subject: Re: Change for connection name
Previous:From: svnDate: 2007-08-02 14:12:42
Subject: SVN Commit by guillaume: r6530 - trunk/pgadmin3/i18n/fr_FR

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group