pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: George Woodring <george.woodring@iglass.net>
Cc: Dave Cramer <pg@fastcrypt.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: SQL solution for my JDBC timezone issue
Date: Mon, 23 Feb 2015 10:49:53 -0500
Message-ID: <31121.1424706593@sss.pgh.pa.us> (raw)
In-Reply-To: <CACi+J=SHZJTjVG_pgjhHnttvK3aKqYG-CBO8wLDBtW07XbUbiw@mail.gmail.com>
References: <CACi+J=S96EmLRhqGY4EYUc7vEvrx_KTQJdvT9sE1xA8SvWT69Q@mail.gmail.com>
	<CADK3HHJLbxfGuEpeQ6tGpFp2GGQCT8PcdepjAmSU9KMV_AKNEA@mail.gmail.com>
	<CACi+J=SHZJTjVG_pgjhHnttvK3aKqYG-CBO8wLDBtW07XbUbiw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>

George Woodring <george.woodring@iglass.net> writes:
> Yes, that is where we think we are heading, the issue is that the code does
> not know what it needs to be set back to.  We have 90 databases with 5
> different time zones.  I was just hoping for a more elegant solution than
> writing a lookup table that says if you are connecting to db x then set to
> timezone y.

"RESET timezone" ?

			regards, tom lane


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



view thread (17+ messages)  latest in thread

Message-ID: <31121.1424706593@sss.pgh.pa.us>
Permalink:  ../31121.1424706593@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/31121.1424706593@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: tgl@sss.pgh.pa.us, george.woodring@iglass.net, pg@fastcrypt.com, pgsql-general@postgresql.org
  Subject: Re: SQL solution for my JDBC timezone issue
  In-Reply-To: <31121.1424706593@sss.pgh.pa.us>
  References: <CACi+J=S96EmLRhqGY4EYUc7vEvrx_KTQJdvT9sE1xA8SvWT69Q@mail.gmail.com> <CADK3HHJLbxfGuEpeQ6tGpFp2GGQCT8PcdepjAmSU9KMV_AKNEA@mail.gmail.com> <CACi+J=SHZJTjVG_pgjhHnttvK3aKqYG-CBO8wLDBtW07XbUbiw@mail.gmail.com> <31121.1424706593@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox