Re: SQL solution for my JDBC timezone issue

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: George Woodring <george(dot)woodring(at)iglass(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Dave Cramer <pg(at)fastcrypt(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: SQL solution for my JDBC timezone issue
Date: 2015-02-24 15:29:46
Message-ID: 54EC98EA.2030701@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-jdbc

On 02/24/2015 06:25 AM, George Woodring wrote:
> -- In your original post you mentioned that access to the databases is
> through a Web server.
>
> -- Is there just one Web server with one time zone?
>
> We have 2 web servers that are clustered together. They are both set to
> Eastern since that is the timezone they are located in.
>

So:

JDBC Web servers(US/East) <---> 90 database (5 different timezones)

Therefore everything to the end user is passed through the Web servers?

Is there a reason why the databases have different timezones?

Seems to me less complicated to have all the databases share the UTC
timezone. Then you only have one offset, US/East <--> UTC.

> iGLASS Networks
> www.iglass.net <http://www.iglass.net>
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2015-02-24 15:32:42 Re: Sequences not moved to new tablespace
Previous Message Adrian Klaver 2015-02-24 15:18:19 Re: Sequences not moved to new tablespace

Browse pgsql-jdbc by date

  From Date Subject
Next Message George Woodring 2015-02-24 15:36:20 Re: SQL solution for my JDBC timezone issue
Previous Message Dave Cramer 2015-02-24 14:30:43 Re: SQL solution for my JDBC timezone issue