From: dexdyne <from_postgresql_forum@dexdyne.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: time zone setting.
Date: Wed, 31 Aug 2011 02:36:45 -0700 (PDT)
Message-ID: <1314783405027-4753538.post@n5.nabble.com> (raw)
In-Reply-To: <alpine.BSO.2.00.1108301249310.10923@leary.csoft.net>
References: <1314181531882-4729960.post@n5.nabble.com>
<CAH_hXRZLOF=ZBGip1kY36ciRHBPDzcw4hZHMvEAEXEqPKyvCrA@mail.gmail.com>
<CA+0W9LPqALfrHfPSUvh=eLDEQ0ZARKaNmbM0RNgYVdzH-E7rrw@mail.gmail.com>
<1314697885778-4749496.post@n5.nabble.com>
<alpine.BSO.2.00.1108301249310.10923@leary.csoft.net>
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.
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: from_postgresql_forum@dexdyne.com
Subject: Re: time zone setting.
In-Reply-To: <1314783405027-4753538.post@n5.nabble.com>
References: <1314181531882-4729960.post@n5.nabble.com> <CAH_hXRZLOF=ZBGip1kY36ciRHBPDzcw4hZHMvEAEXEqPKyvCrA@mail.gmail.com> <CA+0W9LPqALfrHfPSUvh=eLDEQ0ZARKaNmbM0RNgYVdzH-E7rrw@mail.gmail.com> <1314697885778-4749496.post@n5.nabble.com> <alpine.BSO.2.00.1108301249310.10923@leary.csoft.net> <1314783405027-4753538.post@n5.nabble.com>
* 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