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 1tI3UR-00Bmof-2o for pgadmin-support@arkaria.postgresql.org; Mon, 02 Dec 2024 10:17:15 +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 1tI3UN-00FxGC-Vg for pgadmin-support@arkaria.postgresql.org; Mon, 02 Dec 2024 10:17:13 +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 <0102019386dfb4c8-8c5f5150-59fe-4c09-9383-80c4aca64aec-000000@mail.rodonnell.ie>) id 1tI3UN-00FxG4-H1 for pgadmin-support@lists.postgresql.org; Mon, 02 Dec 2024 10:17:12 +0000 Received: from a7-25.smtp-out.eu-west-1.amazonses.com ([54.240.7.25]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from <0102019386dfb4c8-8c5f5150-59fe-4c09-9383-80c4aca64aec-000000@mail.rodonnell.ie>) id 1tI3UL-000dID-0D for pgadmin-support@postgresql.org; Mon, 02 Dec 2024 10:17:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=dv7fx26oobputowqxkzhnujragfvk7eg; d=rodonnell.ie; t=1733134628; h=Content-Type:Message-ID:Date:MIME-Version:Subject:To:Cc:References:From:In-Reply-To; bh=7MgQsIwadJc8MIzGGrPpldTw2Hpmb5nyFGyyCL5iHx8=; b=EMZWG+0I9oRrvHBhFfD/VeJsl/qqwC4yscpfDVGHnHFlhh67QDo7+6SIhmMZrIrk 5LWx8mhIaMrjwpQBguMyN0OmsAGr8/cAYUI7PpN92gNbKGsuZWB+8FLmAr/q2KoX4DS 0MFntoZJFPrSU9Mllat3ulq9dQONj+30noS1gS7NoAoOFlAn5iX/zL0woRoh9KadD2I lSwJkD9vj4+iaeb07i+Dq81oGF6muLFrIQ0SvuVWASpPwGfTH3QuAMebMFjDS7tyVxS qWUwtSYfUx3U0uK7gBHxrnjriAtNMJDEStmf40IxEDnLQ8a4AmbS4qvd+GuhKvbcEbO FqzI1BVt3w== DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=uku4taia5b5tsbglxyj6zym32efj7xqv; d=amazonses.com; t=1733134628; h=Content-Type:Message-ID:Date:MIME-Version:Subject:To:Cc:References:From:In-Reply-To:Feedback-ID; bh=7MgQsIwadJc8MIzGGrPpldTw2Hpmb5nyFGyyCL5iHx8=; b=eiqhkSnsg9ybhpJhBgZJA3geFI/2a07chGejvUKgQaw4hNVxRW5f4lHI3PGnSbBG DSRlu/rN29auYYB8dgy3K/GmR9LnaMfCBNVPGwhJHOiCm5ICq1QzLQzCD8a9GZndHGK Ms+5PdvcZxBNsetWPq5LjMkDz39jkBgL+GsPERiM= Content-Type: multipart/alternative; boundary="------------ZnzZp0gvAaF0q7asCUID544v" Message-ID: <0102019386dfb4c8-8c5f5150-59fe-4c09-9383-80c4aca64aec-000000@eu-west-1.amazonses.com> Date: Mon, 2 Dec 2024 10:17:08 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Some databases not listed in treeview To: Aditya Toshniwal Cc: Pgadmin-Support References: <01020193780372c4-b488dd2b-b1aa-4900-bad8-770dfccd6642-000000@eu-west-1.amazonses.com> Content-Language: en-GB From: Ray O'Donnell In-Reply-To: Feedback-ID: ::1.eu-west-1.Bw1eu/7Uepg3xcsiFBL71JJRCh2A2yTFrgBhhiulXmU=:AmazonSES X-SES-Outgoing: 2024.12.02-54.240.7.25 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------ZnzZp0gvAaF0q7asCUID544v Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Helo Aditya, Thanks for responding. I've no idea how that happened either! Anyway, I'm glad to know what the issue is - thanks for clarifying. Ray. On 02/12/2024 03:10, Aditya Toshniwal wrote: > 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 PM Ray O'Donnell 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_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 > > > > > > -- > Thanks, > Aditya Toshniwal > pgAdmin Hacker | Sr. Staff SDE II |*enterprisedb.com* > > "Don't Complain about Heat, Plant a TREE" -- Raymond O'Donnell // Galway // Ireland ray@rodonnell.ie --------------ZnzZp0gvAaF0q7asCUID544v Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
Helo Aditya,

Thanks for responding. I've no idea how that happened either! Anyway, I'm glad to know what the issue is - thanks for clarifying.

Ray.


On 02/12/2024 03:10, Aditya Toshniwal wrote:
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 PM 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_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





--
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Sr. Staff SDE II | enterprisedb.com
"Don't Complain about Heat, Plant a TREE"


-- 
Raymond O'Donnell // Galway // Ireland
ray@rodonnell.ie
--------------ZnzZp0gvAaF0q7asCUID544v--