Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id A7BA69FB437 for ; Mon, 4 Jun 2007 22:20:42 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 19949-03 for ; Mon, 4 Jun 2007 22:20:27 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from tremor.opencloud.co.nz (tremor.opencloud.co.nz [131.203.101.230]) by postgresql.org (Postfix) with ESMTP id 818489FB6B2 for ; Mon, 4 Jun 2007 22:20:33 -0300 (ADT) Received: from 222-154-177-36.jetstream.xtra.co.nz ([222.154.177.36] helo=[10.1.1.3]) by tremor.opencloud.co.nz with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1HvNii-0000KI-BL; Tue, 05 Jun 2007 13:20:24 +1200 Message-ID: <4664BA57.9000501@opencloud.com> Date: Tue, 05 Jun 2007 13:20:23 +1200 From: Oliver Jowett User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: Collin Peters CC: pgsql-jdbc@postgresql.org Subject: Re: PostgreSQL JDBC support for runtime configuration options References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/6 X-Sequence-Number: 17068 Collin Peters wrote: > Just wondering if the JDBC driver has support for PostgreSQL's runtime > configuration options listed here: > http://www.postgresql.org/docs/8.0/interactive/runtime-config.html > > So for example the SQL "SET time zone 'EST'" or "SET datestyle TO > Postgres, Euro" You can run that SQL directly, there's no special support needed. However changing datestyle in particular will cause the JDBC driver to be unhappy. -O