Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id DA629B5DBE5 for ; Wed, 31 Aug 2011 06:36:53 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 88048-03 for ; Wed, 31 Aug 2011 09:36:47 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mail.postgresql.org (Postfix) with ESMTP id 33D61B5DBBE for ; Wed, 31 Aug 2011 06:36:46 -0300 (ADT) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1QyhDx-0000K8-17 for pgsql-jdbc@postgresql.org; Wed, 31 Aug 2011 02:36:45 -0700 Date: Wed, 31 Aug 2011 02:36:45 -0700 (PDT) From: dexdyne To: pgsql-jdbc@postgresql.org Message-ID: <1314783405027-4753538.post@n5.nabble.com> In-Reply-To: References: <1314181531882-4729960.post@n5.nabble.com> <1314697885778-4749496.post@n5.nabble.com> Subject: Re: time zone setting. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.778 tagged_above=-10 required=5 tests=BAYES_00=-1.9, URI_HEX=1.122 X-Spam-Level: X-Archive-Number: 201108/85 X-Sequence-Number: 22117 Kris, Good Lord, how difficult this stuff is :-) I really don't do databases as my main living - and it's darned hard to learn enough to get a proper grip. Thank you for your suggestion - I had assumed the substitutions for ? chars were simply done by search-and-replace, so the context wasn't important. Now I know better. -------- as an aside, to aid my learnign process... 1. "you cannot do "SET TIMEZONE = ?" with a prepared statement" Where would I read up on what can and cannot be done with prepared statement? Are we agreeijng that it has to be just what would be separated by semi-colons interactively - in other words one statement per jdbc execute? Or is the other comment right that sometimes you can include semicolon-separated actions within a single preparedStatement 2. Any idea what tokens can appear as the first parameter to set_config? I tried searching the on-line manual for a list but couldn't find one. TVM David -- View this message in context: http://postgresql.1045698.n5.nabble.com/time-zone-setting-tp4729960p4753538.html Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.