Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YQHQp-0000Ko-Ao for pgsql-general@arkaria.postgresql.org; Tue, 24 Feb 2015 15:29:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YQHQn-00037W-ML for pgsql-general@arkaria.postgresql.org; Tue, 24 Feb 2015 15:29:53 +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 1YQHQm-00037K-5J for pgsql-general@postgresql.org; Tue, 24 Feb 2015 15:29:52 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YQHQi-0006ir-Qm for pgsql-general@postgresql.org; Tue, 24 Feb 2015 15:29:50 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id BD13120B1B for ; Tue, 24 Feb 2015 10:29:46 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 24 Feb 2015 10:29:47 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=aklaver.com; h= x-sasl-enc:message-id:date:from:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; s=mesmtp; bh=+JqvJxuu+DExDUrFnHoIjZm5wgA=; b=S/6W9aGsTDiC1IWzu0 DQDI+d9QS+UG+6JXoP+0ovy13JnUDbG4h06HIZaAaj0SuMmSybHeroletvJn0fvA tQs5JqwZm09xat1fG2fB6s/GKj2+5laAQu59tbK58mFGBL/CfkxbthoG7I79Fc1+ 5nKYefIOVsbTiarOnRtDWDnfY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:message-id:date:from :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding; s=smtpout; bh=+JqvJxuu+DExDUrFnHoIjZ m5wgA=; b=MezuY6IUl8sKLmgUWKzq8EjKl+WD6g/OEMsTgGlHXmCFb4x8hWTRDt xlcf+soyXvAaR1SMGe0XZ4HMthqDmW+Z2REJlc8jmSIHx3qEqfSJz/iMqaWJexrb FQbmNYSfDXbOffEhBhzhSxYnO6aChccGjKNpeVsh2yAzn7kJC0EiM= X-Sasl-enc: NIKFWyLiy1IDQaceK0+k/rO6VPghmZe9SVJgq1w3v8Bz 1424791787 Received: from [192.168.1.4] (unknown [174.21.191.40]) by mail.messagingengine.com (Postfix) with ESMTPA id C944D680125; Tue, 24 Feb 2015 10:29:46 -0500 (EST) Message-ID: <54EC98EA.2030701@aklaver.com> Date: Tue, 24 Feb 2015 07:29:46 -0800 From: Adrian Klaver User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: George Woodring CC: Tom Lane , Dave Cramer , pgsql-general Subject: Re: SQL solution for my JDBC timezone issue References: <31121.1424706593@sss.pgh.pa.us> <54EB8DA8.6060302@aklaver.com> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.7 (--) 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 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 > > -- Adrian Klaver adrian.klaver@aklaver.com -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general