Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u4htM-006E6d-5o for pgsql-general@arkaria.postgresql.org; Tue, 15 Apr 2025 15:08:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1u4htK-00Bj7E-6G for pgsql-general@arkaria.postgresql.org; Tue, 15 Apr 2025 15:08:03 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u4htJ-00Bj76-5N for pgsql-general@lists.postgresql.org; Tue, 15 Apr 2025 15:08:02 +0000 Received: from fhigh-b5-smtp.messagingengine.com ([202.12.124.156]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1u4htH-000DBb-1V for pgsql-general@lists.postgresql.org; Tue, 15 Apr 2025 15:08:01 +0000 Received: from phl-compute-11.internal (phl-compute-11.phl.internal [10.202.2.51]) by mailfhigh.stl.internal (Postfix) with ESMTP id A6FE6254011D; Tue, 15 Apr 2025 11:07:58 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-11.internal (MEProxy); Tue, 15 Apr 2025 11:07:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1744729678; x=1744816078; bh=IAlUf2HZudsOTeV9AY1FZ+a8dA/m9lsMT3kUYqqfzYc=; b= Z2kKUjUyPc8roGLMocgXoMj4yrEgHEzwlJiFuHDOKtBpkZMb1sVsaoQTrYewasAg tw1qjUIZvvN4rUxpT72kZobBFo12j/VeAA4HvvTfKV5+ktUY0Z3RYMCY+jsan+1E ZnCAXA6sANk8mH6P/27U9cdADv8IEoGLv9VElr+0+dkuiKzaaE2/pgR/SiQGIwdw cCXCVwQRIOt8O0rBePz8jiXMvZq+T57Vm9CMyc/LBRrVW6qkRWBqRd1t++b9Zljl F60UtJb73DLXtByZ8TltkXotFIipnFCDnu5lESl2erxCBI/N8lZok/rZ8fg0/9mT yJTTwSSvqXdLroEysZ20Jw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1744729678; x=1744816078; bh=I AlUf2HZudsOTeV9AY1FZ+a8dA/m9lsMT3kUYqqfzYc=; b=awcG6uDu0+vJVX6y6 eqhWdhsQyaiTngmXrH02Er6ZBnirR2EyN8xtpVoX7gV3NCQ2HoFemOPQGtU1Cy/e Wz9M5BfhL88qPHVwR7P4VJ/4enTbA0PSWTYB81X4J10dCvgS4hckM+SOf/8QPiPx AD4/dxUegB8+Z/XT2osqulS3g1/8YUc06/E8SKU/vT96aKcidZfqm2cFt00GinZo QKBQm0c21KjQgRA9rB7vTdrdLcc5lJIEVpSksUNJA0X7hHQHOy+sfWnYZDk4yg/q CuP26t8kBGVF8OBmokEbYRmcDz1Zu05QlOjSOEm/4x27hDJoWon1CxE/2DYXNhnQ a8gmA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvvdefkeduucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpih gvnhhtshculddquddttddmnecujfgurhepkfffgggfuffvfhfhjggtgfesthejredttddv jeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvg hrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpeeivdfhieehheegueei leejieettdejhedugeefleekvdelkeehtdfgiefffeekudenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegr khhlrghvvghrrdgtohhmpdhnsggprhgtphhtthhopedvpdhmohguvgepshhmthhpohhuth dprhgtphhtthhopehikhhorhhothdtudesghhmrghilhdrtghomhdprhgtphhtthhopehp ghhsqhhlqdhgvghnvghrrghlsehlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 15 Apr 2025 11:07:57 -0400 (EDT) Message-ID: Date: Tue, 15 Apr 2025 08:07:57 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Identify system databases To: Igor Korot , "pgsql-generallists.postgresql.org" References: Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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. > > Or it can be determined ony by name? > > Thank you. > -- Adrian Klaver adrian.klaver@aklaver.com