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 1tHwpn-00B1A8-AF for pgadmin-support@arkaria.postgresql.org; Mon, 02 Dec 2024 03:10:51 +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 1tHwpi-00DGUM-Mh for pgadmin-support@arkaria.postgresql.org; Mon, 02 Dec 2024 03:10:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tHwpi-00DGUE-DI for pgadmin-support@lists.postgresql.org; Mon, 02 Dec 2024 03:10:47 +0000 Received: from mail-oo1-xc29.google.com ([2607:f8b0:4864:20::c29]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1tHwpb-000aKQ-B9 for pgadmin-support@postgresql.org; Mon, 02 Dec 2024 03:10:46 +0000 Received: by mail-oo1-xc29.google.com with SMTP id 006d021491bc7-5f1e364cc22so1297720eaf.2 for ; Sun, 01 Dec 2024 19:10:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; t=1733109037; x=1733713837; darn=postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ZaB25bWr0Xu17RFCjCXSYmLMLagHxsUo4ScKhFshnCE=; b=ZZIhwER5/R8t7sBWnver2anpRoqAFCq70bAp971IhXw4pN2OBfJ2avFmn9g7AfjgMZ L430H9V5ZFQ8Am2B9vAYDCDuCWBcP4q7E0ArcKugO4r1iTCnl6vf0CNasOcI41rd16Aq gtMnhTlt2ZDboi59M/kqiNI5wfKZolBXIjYo34NNJD2FIvezreSCxXR4kRiXSo5j/2Yf ZLFjNiZ+cTK079foH7kBBEHRG+6/jY4Ij6tRjrTsmuotP2wKQ3PKcsaOb9Mfi6fLlViy 79qpROYS3qlApMQM1R/ooAmxH/gzHB+qmP790ybJAVJZV2qAwXY7g8mEtxkNWofNXMGp HUBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733109037; x=1733713837; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ZaB25bWr0Xu17RFCjCXSYmLMLagHxsUo4ScKhFshnCE=; b=pj3pPQV5yuH5NfNKKe6euii1rFn6iEDQTqFOQLNhTIwBODlHxjPg9MsMGwNO9Nm+Pk /Cb4aqLzVZ62f3PBU6/byv7lBGh3ZDknI8RafUUhq6xiJSpz6V1COd+rCy8H4/jgbF7e NalV44W0igz+IsuCIakDo0Em2MBXkEIs+LtYqzI+FUyQ7Kb51nTzvgN9krPC9I4zOLt/ IpGdEdnS/lnLoaUiDVeaLiE8bVeUZyHqrfVuq7NqInmlwYq3bbXMXf+Xds8QFw0tlGd9 aPGH5XMgQ0L6z9IFV/gYgIzBjJgniJJwYJ/NgPLPrPz1tvCu2XLdVKInLvYiWA8MHR5v CWDw== X-Gm-Message-State: AOJu0YycZPRkf4Z9pmvKJXjSNGnWUcPE8Eld5d67q8KWP3T1aQVqR5zk kc1ldpop34i4n9G/QyaVmasdsuAnlUD9mGM14GycnkBN4AJsNqkDBrj011+mpzmc1g1RiY9S6Pf YfFI6xbr4id6qOiVvk2IVtjI7xJCkEUV2gelA2+JPThnrVOWrhx9o X-Gm-Gg: ASbGncsYggVHPZiYlZnCVvfos5cBxS6wcf+eFRkV1DT6wkWLDW6LhOLhhq3UAsPGiSL g2LIYLarCENL1DYJ03k+DwEPPkZr4cNzQreq+qE9IcUEXWIgze5OsORWhz4CpCb3guA== X-Google-Smtp-Source: AGHT+IHfOc42Pv8EdJFN4AOD4RJ2+TFm7bCEYzUj0xd1NgEELpCMJSZFZjvUTP3mLm7QNKqpHL0ENZ6e56bWV/twYbU= X-Received: by 2002:a05:6871:ea88:b0:288:8f84:5f14 with SMTP id 586e51a60fabf-29dc3f9bda8mr15062662fac.8.1733109037232; Sun, 01 Dec 2024 19:10:37 -0800 (PST) MIME-Version: 1.0 References: <01020193780372c4-b488dd2b-b1aa-4900-bad8-770dfccd6642-000000@eu-west-1.amazonses.com> In-Reply-To: <01020193780372c4-b488dd2b-b1aa-4900-bad8-770dfccd6642-000000@eu-west-1.amazonses.com> From: Aditya Toshniwal Date: Mon, 2 Dec 2024 08:40:01 +0530 Message-ID: Subject: Re: Some databases not listed in treeview To: "Ray O'Donnell" Cc: Pgadmin-Support Content-Type: multipart/alternative; boundary="00000000000085941a062840e41e" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000085941a062840e41e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Ray, I'm not sure how your DB has an OID of 4 digits. pgAdmin considers all DBs with OIDs less than equal to 16383 as system DBs. So your DB here is considered a system DB. On Fri, Nov 29, 2024 at 6:32=E2=80=AFPM Ray O'Donnell wr= ote: > Hi all, > > I've just come across a funny in pgAdmin 4 version 8.13: when I connect > from my laptop to a server on the same laptop, not all databases are > listed in the tree-view on the left. The server is PostgreSQL 16.6. > > Connecting to the server with psql and doing \l shows me 12 databases, > including template0 and template1. Likewise, "select * from pg_database" > gives me the same 12 rows. However, the treeview shows only 9... > template* databases are excluded, plus one other of my own. > > Interestingly, when I select from pg_database, the one database of mine > which is excluded has an OID of 4; all the others have 5-digit OIDs. I > don't know why its OID is so low; it's come forward through a few PG > versions over several years, so probably historical baggage. > > All the best, > > Ray. > > -- > Raymond O'Donnell // Galway // Ireland > ray@rodonnell.ie > > > > --=20 Thanks, Aditya Toshniwal pgAdmin Hacker | Sr. Staff SDE II | *enterprisedb.com* "Don't Complain about Heat, Plant a TREE" --00000000000085941a062840e41e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi=C2=A0Ray,

I'm not sure how your DB has an OID of 4 = digits. pgAdmin considers all DBs with OIDs less than equal to 16383 as sys= tem DBs. So your DB here is considered a system DB.

On Fri, Nov 29, 20= 24 at 6:32=E2=80=AFPM Ray O'Donnell <ray@rodonnell.ie> wrote:
Hi all,

I've just come across a funny in pgAdmin 4 version 8.13: when I connect=
from my laptop to a server on the same laptop, not all databases are
listed in the tree-view on the left. The server is PostgreSQL 16.6.

Connecting to the server with psql and doing \l shows me 12 databases,
including template0 and template1. Likewise, "select * from pg_databas= e"
gives me the same 12 rows. However, the treeview shows only 9...
template* databases are excluded, plus one other of my own.

Interestingly, when I select from pg_database, the one database of mine which is excluded has an OID of 4; all the others have 5-digit OIDs. I
don't know why its OID is so low; it's come forward through a few P= G
versions over several years, so probably historical baggage.

All the best,

Ray.

--
Raymond O'Donnell // Galway // Ireland
ray@rodonnell.ie<= br>




--
Thanks,
Aditya Toshniw= al
pgAdmin Hacker=C2=A0| Sr. Staff SDE II=C2= =A0| enterprisedb.com
"Don't Complain about Heat, Plant a TREE"
--00000000000085941a062840e41e--