Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZboCf-00024O-5Y for pgadmin-hackers@arkaria.postgresql.org; Tue, 15 Sep 2015 11:15:13 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZboCe-0005ph-2e for pgadmin-hackers@arkaria.postgresql.org; Tue, 15 Sep 2015 11:15:12 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZboCP-0005ZC-Qb for pgadmin-hackers@postgresql.org; Tue, 15 Sep 2015 11:14:57 +0000 Received: from mail-wi0-f171.google.com ([209.85.212.171]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZboCM-0007vu-05 for pgadmin-hackers@postgresql.org; Tue, 15 Sep 2015 11:14:56 +0000 Received: by wicfx3 with SMTP id fx3so22205002wic.0 for ; Tue, 15 Sep 2015 04:14:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=uDalKETF2YJxdH3EqhJdlAx+pb4lFiZgzGqhWngejOU=; b=GdFdZa1eYfq1Jv7Cx1qe2q5Nzms5OnhdPEkBDTcRaUzsQd6zSpaeidde2FdR59dMTz Tk8uuvQhSZdmQnSYX3nGzgbnoT3F1sTvIdwVjB75euBLmB5qAS104HC+JA6jWzLqwQ/N BGbHZ4S2akYDzxL7Dr0qFyPjWFQ002rPkxL9Jy4WlATZLLUBWIpWFrZICRpqqzTZsWMI LPY+T6CohASA/UhsXIxIKgu2LiGEhOgDqNOYR36V5dW/TobytBWTFPUb6TqbdwOtoNhg L8dtJo3rjPhcT3qLDKG+WDy9E5jZlSck5HnnSOuXUlQZA1uQwf5XdvunooDWQRUOutt6 OaVw== X-Gm-Message-State: ALoCoQl4qM69cso8D4ZMjRsMfLk26qB2GAGoxFwDOAPcDKoZ1jkYqmY+S681Ul41vWQnBhDbGohD MIME-Version: 1.0 X-Received: by 10.194.171.129 with SMTP id au1mr41144423wjc.115.1442315692662; Tue, 15 Sep 2015 04:14:52 -0700 (PDT) Received: by 10.194.73.133 with HTTP; Tue, 15 Sep 2015 04:14:52 -0700 (PDT) In-Reply-To: References: Date: Tue, 15 Sep 2015 13:14:52 +0200 Message-ID: Subject: Re: Patch: New field in frmMain statusbar From: Magnus Hagander To: Dave Page Cc: Adam Scott , pgadmin-hackers Content-Type: multipart/alternative; boundary=089e0122f1a083f9f4051fc74aa0 X-Pg-Spam-Score: -2.1 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org --089e0122f1a083f9f4051fc74aa0 Content-Type: text/plain; charset=UTF-8 On Tue, Sep 15, 2015 at 10:55 AM, Dave Page wrote: > On Mon, Sep 14, 2015 at 5:11 PM, Magnus Hagander > wrote: > > The part that changed is just the one that added db1 and db2, right? > > It's the server display name *and* the database name, so to give a > (redacted) example from my machine, I would have: > > aws-ap-southeast-1b.xxxxxxxxxxxxxxxx.com (aws-ap-southeast-1b. > xxxxxxxxxxxxxxxx.com:5432):postgres > > Which as you can see is quite long. > I thought the point of display names was to have them nice and short :) I've certainly never used displaynames that are that long. Yes, I totally see with names like that it becomes annoying, and certainly not easy to parse. Perhaps what we really shoul dhave is just displayname + databasename, and exclude the actual hostname? -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/ --089e0122f1a083f9f4051fc74aa0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On T= ue, Sep 15, 2015 at 10:55 AM, Dave Page <dpage@pgadmin.org> = wrote:
On Mon, Sep 14, 2= 015 at 5:11 PM, Magnus Hagander <= magnus@hagander.net> wrote:
> The part that changed is just the one that added db1 and db2, right?
It's the server display name *and* the database name, so to give= a
(redacted) example from my machine, I would have:

aws-ap-southeast-1b.xxxxxxxxxxxxxxxx.com (aws-ap-= southeast-1b.
xxxxxxxxxxxxxxxx.com:5432):postgres

Which as you can see is quite long.

I t= hought the point of display names was to have them nice and short :) I'= ve certainly never used displaynames that are that long.

Yes, I totally see with names like that it becomes annoying, and cer= tainly not easy to parse. Perhaps what we really shoul dhave is just displa= yname + databasename, and exclude the actual hostname?

=

--
=C2=A0Magnus Hag= ander
=C2=A0Me: h= ttp://www.hagander.net/
=C2=A0Work: http://www.redpill-linpro.com/
--089e0122f1a083f9f4051fc74aa0--