Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YPvH9-0002vJ-0J for pgsql-general@arkaria.postgresql.org; Mon, 23 Feb 2015 15:50:27 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YPvH7-00055s-HX for pgsql-general@arkaria.postgresql.org; Mon, 23 Feb 2015 15:50:25 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YPvGo-0004ZW-5r for pgsql-general@postgresql.org; Mon, 23 Feb 2015 15:50:06 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YPvGh-0000qJ-L5 for pgsql-general@postgresql.org; Mon, 23 Feb 2015 15:50:00 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id t1NFnriV031122; Mon, 23 Feb 2015 10:49:53 -0500 From: Tom Lane To: George Woodring cc: Dave Cramer , pgsql-general Subject: Re: SQL solution for my JDBC timezone issue In-reply-to: References: Comments: In-reply-to George Woodring message dated "Mon, 23 Feb 2015 10:42:17 -0500" Date: Mon, 23 Feb 2015 10:49:53 -0500 Message-ID: <31121.1424706593@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org George Woodring 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