public inbox for [email protected]  
help / color / mirror / Atom feed
From: Igor Korot <[email protected]>
To: pgsql-generallists.postgresql.org <[email protected]>
Subject: Fwd: Identify system databases
Date: Tue, 15 Apr 2025 11:21:34 -0500
Message-ID: <CA+FnnTwFpzxQmTGi8_2jrFB5z_=d8H+PJuWVpfYXqY7G74-kMA@mail.gmail.com> (raw)
In-Reply-To: <CA+FnnTw0vtO58xhraHYPm9g++svC1wTBAVCP1dj-+xzfptnssg@mail.gmail.com>
References: <CA+FnnTxab=JyE0DZkfL4Z2MK8RvvTud9MZiNenD45AoV_t2Mxg@mail.gmail.com>
	<[email protected]>
	<CA+FnnTw0vtO58xhraHYPm9g++svC1wTBAVCP1dj-+xzfptnssg@mail.gmail.com>

---------- Forwarded message ---------
From: Igor Korot <[email protected]>
Date: Tue, Apr 15, 2025 at 11:16 AM
Subject: Re: Identify system databases
To: Adrian Klaver <[email protected]>


Hi, Adrian,

On Tue, Apr 15, 2025 at 10:07 AM Adrian Klaver <[email protected]>
wrote:

> On 4/15/25 07:48, Igor Korot wrote:
> > Hi, ALL,
> > Is there a field in the pg_databases table which indicates that
> > particular DB is a system one?
>
> No there is not. As a practical matter they are no different then any
> user created database, other then template0 is created with datallowconn
>   set to false.


Understood. Will filter by name…

Thank you.


>
> >
> > Or it can be determined ony by name?
> >
> > Thank you.
> >
>
> --
> Adrian Klaver
> [email protected]
>
>


view thread (3+ messages)  latest in thread

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: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Fwd: Identify system databases
  In-Reply-To: <CA+FnnTwFpzxQmTGi8_2jrFB5z_=d8H+PJuWVpfYXqY7G74-kMA@mail.gmail.com>

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

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