Startup parameters timezone conversion - Mailing list pgsql-jdbc

From Leonid Vygovskiy
Subject Startup parameters timezone conversion
Date
Msg-id CA+g6ijixekZxJergSrkai=U++aj3FzzYyh3B6fFFMo3Yk6nSGw@mail.gmail.com
Whole thread Raw
Responses Re: Startup parameters timezone conversion  (Dave Cramer <davecramer@postgres.rocks>)
Re: Startup parameters timezone conversion  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-jdbc
Hi all!

I study how to work with the timezone in JDBC driver and found the code which I don't understand.
This is implementation of the method ConnectionFactoryImpl.createPostgresTimeZone() which has the comment:" Convert Java time zone to postgres time zone. All others stay the same except that GMT+n  changes to GMT-nn and vise versa."

I'm confused with that changing. Can anybody talk about the reasons and motives of this behavior?

BR, Leonid Vygovskiy

pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: [pgjdbc/pgjdbc] f81244: fix: we will ask the server if it supports GSS Enc...
Next
From: Dave Cramer
Date:
Subject: Re: Startup parameters timezone conversion