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 1ruebj-006ktF-Pg for pgsql-general@arkaria.postgresql.org; Wed, 10 Apr 2024 20:31:48 +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 1ruebi-0081d2-Hf for pgsql-general@arkaria.postgresql.org; Wed, 10 Apr 2024 20:31:46 +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 1ruebi-0081cu-7G for pgsql-general@lists.postgresql.org; Wed, 10 Apr 2024 20:31:46 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ruebg-000G0n-09 for pgsql-general@postgresql.org; Wed, 10 Apr 2024 20:31:45 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 43AKVYYF4179144; Wed, 10 Apr 2024 16:31:34 -0400 From: Tom Lane To: Adrian Klaver cc: Adnan Dautovic , pgsql-general@postgresql.org Subject: Re: Failure of postgres_fdw because of TimeZone setting In-reply-to: <549c75f4-194e-4de8-aca5-1a5aaa216dd5@aklaver.com> References: <5DF49366-10D1-42A4-99BF-F9A7DC3AB0F4@mailbox.org> <0849E257-0A15-4C2F-A41B-7E0E4B716CAE@mailbox.org> <1273542.1712326418@sss.pgh.pa.us> <98F8816F-0AC2-4308-961F-4C7A4FC2C646@mailbox.org> <549c75f4-194e-4de8-aca5-1a5aaa216dd5@aklaver.com> Comments: In-reply-to Adrian Klaver message dated "Wed, 10 Apr 2024 13:04:38 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4179142.1712781094.1@sss.pgh.pa.us> Date: Wed, 10 Apr 2024 16:31:34 -0400 Message-ID: <4179143.1712781094@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Adrian Klaver writes: > On 4/10/24 12:38, Adnan Dautovic wrote: >> By the way, the row count of pg_timezone_names is 385, but I do >> not know how that compares to a more standard installation. > On my instance of Postgres 16.2, 1196. You're probably using a build with --with-system-tzdata pointing at a system tzdata tree that includes leap-second-aware zones. These tend to have duplicative entries like "America/New_York" and "posix/America/New_York". (There's also a subtree like "right/America/New_York", but we reject those because we don't do leap seconds.) The real number of distinct zones in a standard tzdata file set these days is a shade under 600. regards, tom lane