Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nACA2-0001G7-7c for pgsql-jdbc@arkaria.postgresql.org; Wed, 19 Jan 2022 14:42:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nACA0-00015T-Kq for pgsql-jdbc@arkaria.postgresql.org; Wed, 19 Jan 2022 14:42:04 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nACA0-00015J-Ct for pgsql-jdbc@lists.postgresql.org; Wed, 19 Jan 2022 14:42:04 +0000 Received: from mout.gmx.net ([212.227.15.18]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nAC9v-0005lX-AE for pgsql-jdbc@lists.postgresql.org; Wed, 19 Jan 2022 14:42:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1642603316; bh=JlJCmEDTr/KMId32NKLfh4YKsVlEZfMTVGa5w7RH/GQ=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=KAYR5Rlu6Rp8fQYoNzhqQS4phh3EJ3m2ppvPoWxIm722BLIuMid80Ulbr/vsx/bgt yLN4+gEjoK2G/1VyaZOGDIqef3GZ3FRXnXa0zQhJEhwZ+LGEpElCJP4eNkf6EuX+q4 zrFZdSc/8hEapQc0qGwPpZqyafGZDPAZZTcEkAw8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [10.1.35.80] ([185.40.248.10]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MbirE-1mab1e2mFy-00dDgQ for ; Wed, 19 Jan 2022 15:41:56 +0100 Subject: Re: Startup parameters timezone conversion To: pgsql-jdbc@lists.postgresql.org References: From: Thomas Kellerer Message-ID: <22f1218b-d700-141c-e9ef-08f7cb066411@gmx.net> Date: Wed, 19 Jan 2022 15:41:55 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:BwLNK1/Q1sMfZ2y8jI7GzZHFqFUa1Mp6fquCIymOoUrqDJVdZgb 7zScvgs6gFJAIByhcT7KtG5oviye/4YddbzkPEolnlCoPepEf5NvsW5POiy4D5/F/pY0np1 8ObwbwDJzjVWjJhOpui/i1WhdNtDPU2uJByyt0oW+Fl8iLdYBw/iLoQykw7RRYk6TPG3nnj EPIQ0p+xMr3IeHdPCtDfw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Fw/JbBp3UHo=:YGja3/0war60T3GtziFWJr JXVEdn905S6/LFO4Ch9nNKQlZ23B3BVuyNJghX8CWtrkyf4Ba8LbwVNuHoRIPpGlQSY9sDer2 uG3OO0swMlAAwb8Hejj3YVzNab3YAQoBFp+unlfwqw6MNpVSV1YqRV+XSZ6KLZzXd0C3B9FJE VBNOWETlGNIkbLSCXAVV3HLiwaOkra/QaYpKlfVxPwEO/czsctVNp0MOhorSPDtwOXXkv/K8p ali0tSX1J8iIGZuTmnoCM0Vd4i3GwWVCmUgZ+Y8zIkZGpsCp/YlOv42zjBDuB/y/7KqSw72zT dtdm3PGpJj9gv93dmvqj/lqZV2xJH1kNM76ac5mbLNKi+nZKl+wMrAuz16H96yizJfN2D2DEM e9A6uAK8jHPHCqQO6uVA9/QH6MEDFmbsTPL0gDm63RyyLt8ZTlD3tMxTOccv90ZJfbw6xfS23 9rfkNVzVVwJ7/jLVzqo8eYMMcTRTAm13w6z0SCyDy2Au9+7sJyvWR0OZNYAtPJFlipXBBuFbM AJZ2b0bS0GqOtz5Fa+w2Wyn20QrBd9dyUAAbreFShqK6o8kJAEirU2Bd2c8YWSGzNpAMwdEZG 3uLTnyymPLnd7FhYBuk/JdyiyHb3qCTRC4koXxWz7IC2ruf8296ZcrmJ2G/FoJ1oB8MeXAYH4 qE0SUi+bqqTUCa5CONOdyrUg8hGaFlm/MyOmazhn7RDheJAuDOvW1M3hrrAXIIl+WWekjFI4W msBCOFT1Lc+Qy+evk1xk6NOCDTARQVZuslGjpWZFoDa3+AnzDmz+7bdv29fqOta3EUCm42D6g /MqGlQB2PbyJChW3R0c5mxwKjrMrfo72p6Xf/XBfEjWn+MRYcdAQDVWhYxDi6Uu73zOEErPLt Dbdv1Z+O6HQ2cZ/YE2uh1csQYRERdx2FnBbzMjCkAGw2u/PdKcCHNWNnU0UVyN1JQrAJl7DRa E7Y5HR0Fj4CkTjZopVuzM56ywFv/vyDSYK25y3GR4FtPt2Dh8VUL0dkpYcjmh0W6Jv+E7e3q+ 1ewpv+nYKVECk0ppqyMjMggiWL5zYyaA+5Ha0STkrmlyU8mBU832HjtSxK4Y+ZowNNEZwRgb6 iAcnPo0SkrPVmA= List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Could this be related to Posix time zones? https://www.postgresql.org/docs/current/datetime-posix-timezone-specs.html > the positive sign is used for zones west of Greenwich. (Note that this i= s the opposite of the ISO-8601 sign convention used elsewhere in PostgreSQ= L Thomas Dave Cramer schrieb am 19.01.2022 um 15:01: > I have to admit to being unable to explain this as well. > > > Dave Cramer > www.postgres.rocks > > > On Wed, 19 Jan 2022 at 08:22, Leonid Vygovskiy > wrote: > > Hi all! > > I study how to work with the timezone in JDBC driver and found the c= ode which I don't understand. > This is implementation of the method ConnectionFactoryImpl.createPos= tgresTimeZone() which has the comment:" Convert Java time zone to postgres= time zone. All others stay the same except that GMT+n =C2=A0changes to GM= T-nn and vise versa." > > I'm confused with that changing. Can anybody talk about the reasons = and motives of this behavior? > > BR, Leonid Vygovskiy >