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 1u29zl-00Dx7u-O3 for pgsql-bugs@arkaria.postgresql.org; Tue, 08 Apr 2025 14:32:09 +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 1u29zj-009OGj-AD for pgsql-bugs@arkaria.postgresql.org; Tue, 08 Apr 2025 14:32:07 +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 1u29zj-009OGb-1N for pgsql-bugs@lists.postgresql.org; Tue, 08 Apr 2025 14:32:07 +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.96) (envelope-from ) id 1u29zh-0049By-0W for pgsql-bugs@lists.postgresql.org; Tue, 08 Apr 2025 14:32:07 +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 538EW3D33979563; Tue, 8 Apr 2025 10:32:03 -0400 From: Tom Lane To: testtest12423@gmail.com cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #18884: The CURRENT_TIMESTAMP value being returned in UTC-2. In-reply-to: <18884-d97000187e523225@postgresql.org> References: <18884-d97000187e523225@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Tue, 08 Apr 2025 13:56:57 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3979561.1744122723.1@sss.pgh.pa.us> Date: Tue, 08 Apr 2025 10:32:03 -0400 Message-ID: <3979562.1744122723@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk PG Bug reporting form writes: > However adding the following property in connection URL, changes the > output. > String url = "jdbc:postgresql://127.0.0.1:5432/postgres?loggerLevel=INFO"; The most likely bet is that this is causing the program to connect to a different server with a different timezone setting. regards, tom lane