Re: time zone setting.

From: Maciek Sakrejda <msakrejda(at)truviso(dot)com>
To: dexdyne <from_postgresql_forum(at)dexdyne(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: time zone setting.
Date: 2011-08-31 18:47:08
Message-ID: CAH_hXRY-67mbeuiye5Wfiywya6aP8Bks5+NjptjdxqwmHg6f9Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

> Or is the other comment right that sometimes you can include
semicolon-separated actions within a single preparedStatement

I haven't tried it, but I'd trust Oliver on this one. I was thinking of the
underlying wire-level extended query protocol, which requires a single
"statement" per "query".

> 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.

Any server settings (
http://www.postgresql.org/docs/9.0/static/runtime-config.html ) that are
updatable at runtime. For a quick reference, you can run:

select name, short_desc, extra_desc from pg_settings where context = 'user';

(context determines when you can change it).

---
Maciek Sakrejda | System Architect | Truviso

1065 E. Hillsdale Blvd., Suite 215
Foster City, CA 94404
(650) 242-3500 Main
www.truviso.com

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Alejandra Juarez D'Aquino 2011-09-02 18:58:11 Problem with sql ant task
Previous Message dexdyne 2011-08-31 09:36:45 Re: time zone setting.