pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: nakagawa@goodf.co.jp
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16645: pg_upgrade does not mark template1 as a system database
Date: Tue, 29 Sep 2020 22:45:39 -0400
Message-ID: <805341.1601433939@sss.pgh.pa.us> (raw)
In-Reply-To: <16645-54478f8719888f75@postgresql.org>
References: <16645-54478f8719888f75@postgresql.org>

PG Bug reporting form <noreply@postgresql.org> writes:
> 4. Open pgAdmin 4, connect to the PostgreSQL 13.0 server and expand the
> Databases node.
> Expected result:
> The node has [postgres].
> Actual result:
> The node has [postgres] and [template1].

There's no particular concept of a "system database" in Postgres,
so I don't know what pgadmin is doing to decide which databases
to show or not show, but evidently it's not too well thought out.

(The closest concept I can think of is whether a DB is marked
datistemplate, but a test confirms that pg_upgrade successfully
preserves that property on template0 and template1.)

I'd suggest you file this complaint on the pgadmin lists.

			regards, tom lane





view thread (5+ messages)  latest in thread

Message-ID: <805341.1601433939@sss.pgh.pa.us>
Permalink:  ../805341.1601433939@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/805341.1601433939@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, nakagawa@goodf.co.jp, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #16645: pg_upgrade does not mark template1 as a system database
  In-Reply-To: <805341.1601433939@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox