Default timezones and Postgres

From: "Dr(dot) Evil" <drevil(at)sidereal(dot)kz>
To: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Default timezones and Postgres
Date: 2002-02-19 01:21:16
Message-ID: 20020219012116.24260.qmail@sidereal.kz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


I am wondering how to force Postgres to simply store all time
information in the database in the UTC timezone. Is there a way to do
this that doesn't involve changing the timezone config of this entire
computer? What will happen is that we have users all over the world
in many different time zones. Each user will be able to set his own
prefs so that data will be displayed in his timezone. In this case,
the only timezone that makes any sense for internal usage is UTC,
right? Right now it seems to be storing everything in my local
timezone which isn't good.

Thanks for any sugestions.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Christopher Kings-Lynne 2002-02-19 01:34:16 PostgreSQL talk at UWA
Previous Message Rich Shepard 2002-02-19 00:59:14 Cannot restart the postmaster