RE: BUG #16645: pg_upgrade does not mark template1 as a system database

From: "Y(dot) NAKAGAWA" <nakagawa(at)goodf(dot)co(dot)jp>
To: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: RE: BUG #16645: pg_upgrade does not mark template1 as a system database
Date: 2020-09-30 04:11:19
Message-ID: 029201d696df$c1542940$43fc7bc0$@goodf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Thank you for your suggestion.
According to pgAdmin4, [System database?] is [No] and [Template?] is [Yes].
I will post this to the pgadmin lists later.

Regards,

--
Nakagawa, Y.

-----Original Message-----
From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Sent: Wednesday, September 30, 2020 11:46 AM
To: nakagawa(at)goodf(dot)co(dot)jp
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #16645: pg_upgrade does not mark template1 as a system
database

PG Bug reporting form <noreply(at)postgresql(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message rob stone 2020-09-30 06:01:23 Incorrect version of initdb
Previous Message David G. Johnston 2020-09-30 02:57:31 Re: BUG #16636: Upper case issue in JSONB type