Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U2P2b-0005oj-9x for pgsql-jdbc@arkaria.postgresql.org; Mon, 04 Feb 2013 16:37:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1U2P2a-00049T-8g for pgsql-jdbc@arkaria.postgresql.org; Mon, 04 Feb 2013 16:37:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U2P2Z-00049O-LT for pgsql-jdbc@postgresql.org; Mon, 04 Feb 2013 16:37:07 +0000 Received: from mail-oa0-f41.google.com ([209.85.219.41]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U2P2T-0002or-Ij for pgsql-jdbc@postgresql.org; Mon, 04 Feb 2013 16:37:07 +0000 Received: by mail-oa0-f41.google.com with SMTP id i10so6846110oag.14 for ; Mon, 04 Feb 2013 08:37:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=ogRS+lHRoL1zko9xHfW+0E1mfIov5HrZdRwanztePpI=; b=f0oX+BLvPlZauoMpdUK5VvMe9S22z+Njy2UUm1AP89N5jdZI1lvDPBHoiiqJM6Keas Uica/3JE27y7P8nyoNPtOYyVeMzC/eIL5YQzO9ws/KQwnjBvKcucuIr/FskKGtwxiqDx Z/FgQ+ge5dwyzBaCEjSBp3zUzmoR6u2+LFBbGJIu+xyKf1x44zWoWb1NzjzJkFkHJQNq /PNgqo4do8NZDf7F7QB5xjqg5NLjU+u052MhqBruinZq20rD/G7L0teA3h+WGbE+ok7Z WgR45fni3kxtXw1C1vSuyi1qXu/+sjI1XOrelZSHReRjytnf4n/gsLbgdNc/0w91n1yf fdOg== X-Received: by 10.60.172.200 with SMTP id be8mr17530415oec.0.1359995820124; Mon, 04 Feb 2013 08:37:00 -0800 (PST) Received: from ian.icp.selfip.net (pool-71-170-109-80.dllstx.fios.verizon.net. [71.170.109.80]) by mx.google.com with ESMTPS id el2sm21236467obc.9.2013.02.04.08.36.58 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 04 Feb 2013 08:36:59 -0800 (PST) Message-ID: <510FE3A9.8090307@gmail.com> Date: Mon, 04 Feb 2013 10:36:57 -0600 From: Ian Pilcher User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Dave Cramer CC: List Subject: Re: setTimestamp(int, Timestamp, Calendar) ignoring time zone? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 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-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org On 02/04/2013 04:40 AM, Dave Cramer wrote: > What is the underlying data type ? Timestamp with timezone or without ? Dave - The column type is timestamp *with* time zone. Your question tends to confirm what I suspected after re-re-re-reading various bits of Javadoc, along with this: http://www.postgresql.org/message-id/4B2F2CED.10400@opencloud.com I.e. when a java.sql.Timestamp is created from a long, it represents an absolute point in time, so "taking into account a custom timezone" doesn't make any sense. I guess that it might makes sense when using a timestamp without time zone, although, I'm getting a headache just trying to think through how that might behave. Thanks! -- ======================================================================== Ian Pilcher arequipeno@gmail.com Sometimes there's nothing left to do but crash and burn...or die trying. ======================================================================== -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc