pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alessio Bragadini <alessio@albourne.com>
To: Karel Zak <zakkr@zf.jcu.cz>
Cc: SQL for PostgreSQL list <pgsql-sql@postgresql.org>
Subject: Re: Confused by timezones
Date: Fri, 15 Dec 2000 17:23:39 +0200
Message-ID: <3A3A377B.3E21667B@albourne.com> (raw)
References: <Pine.LNX.3.96.1001215132928.14067B-100000@ara.zf.jcu.cz>

Karel Zak wrote:

>  Yes it's possible, but in freezed 7.1 *only*. It's 'TZ' and output is

Thanks, on my experimental 7.1 works perfectly, another reason to switch
as soon as possible. :-)

>  You must use same names (definitions) as are used in your OS
> (an example on Linux at /usr/share/zoneinfo)

In 7.1 works. Is it supposed to work also in 7.0? Because then it would
be a configuration problem on my main system.

Since I have a website with registered users, with associated timezone,
I would like to show all timestamps based on the user's timezone, and
the best way would be to set a session configuration. My only fear is
that Apache::DBI (which reuses the same connection for different pages)
could intermix such information. Any comment on this would be
appreciated.

Thanks

-- 
Alessio F. Bragadini		alessio@albourne.com
APL Financial Services		http://village.albourne.com
Nicosia, Cyprus		 	phone: +357-2-755750

"It is more complicated than you think"
		-- The Eighth Networking Truth from RFC 1925



view thread (6+ messages)  latest in thread

Message-ID: <3A3A377B.3E21667B@albourne.com>
Permalink:  ../3A3A377B.3E21667B@albourne.com/
Also on:    postgresql.org/message-id/3A3A377B.3E21667B@albourne.com

 · 

reply

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-sql@postgresql.org
  Cc: alessio@albourne.com, zakkr@zf.jcu.cz
  Subject: Re: Confused by timezones
  In-Reply-To: <3A3A377B.3E21667B@albourne.com>
  References: <Pine.LNX.3.96.1001215132928.14067B-100000@ara.zf.jcu.cz> <3A3A377B.3E21667B@albourne.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