pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedPostgres timestamps are out by one hour
5+ messages / 2 participants
[nested] [flat]
* Postgres timestamps are out by one hour
@ 2006-10-26 15:17 Simon Kinsella <simon@bluefiresystems.co.uk>
0 siblings, 1 reply; 5+ messages in thread
From: Simon Kinsella @ 2006-10-26 15:17 UTC (permalink / raw)
To: pgsql-admin
Hello,
I'm experiencing a strange problem on two of my installs (PostgreSQL 8.1.4
on FreeBSD6.1-Release):
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Postgres timestamps are out by one hour
@ 2006-10-26 15:52 Tom Lane <tgl@sss.pgh.pa.us>
parent: Simon Kinsella <simon@bluefiresystems.co.uk>
0 siblings, 1 reply; 5+ messages in thread
From: Tom Lane @ 2006-10-26 15:52 UTC (permalink / raw)
To: Simon Kinsella <simon@bluefiresystems.co.uk>; +Cc: pgsql-admin
"Simon Kinsella" <simon@bluefiresystems.co.uk> writes:
> The shell / system timestamp is correct local time (London, daylight
> saving), but the postgres time is one hour behind.
What does SHOW TIMEZONE say?
regards, tom lane
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Postgres timestamps are out by one hour
@ 2006-10-26 16:07 Simon Kinsella <simon@bluefiresystems.co.uk>
parent: Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 5+ messages in thread
From: Simon Kinsella @ 2006-10-26 16:07 UTC (permalink / raw)
To: pgsql-admin
template1=# show timezone;
TimeZone
----------
GMT0
Thanks.
-----Original Message-----
From: pgsql-admin-owner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Tom Lane
Sent: Thursday, October 26, 2006 4:53 PM
To: Simon Kinsella
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] Postgres timestamps are out by one hour
"Simon Kinsella" <simon@bluefiresystems.co.uk> writes:
> The shell / system timestamp is correct local time (London, daylight
> saving), but the postgres time is one hour behind.
What does SHOW TIMEZONE say?
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?
http://archives.postgresql.org
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Postgres timestamps are out by one hour
@ 2006-10-26 16:16 Tom Lane <tgl@sss.pgh.pa.us>
parent: Simon Kinsella <simon@bluefiresystems.co.uk>
0 siblings, 1 reply; 5+ messages in thread
From: Tom Lane @ 2006-10-26 16:16 UTC (permalink / raw)
To: Simon Kinsella <simon@bluefiresystems.co.uk>; +Cc: pgsql-admin
"Simon Kinsella" <simon@bluefiresystems.co.uk> writes:
> template1=# show timezone;
> TimeZone
> ----------
> GMT0
That's a non-daylight-savings zone ... and one would guess that the
postmaster was started with TZ=GMT or some such, else it would not have
picked that as the Postgres zone.
regards, tom lane
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Postgres timestamps are out by one hour
@ 2006-10-27 08:36 Simon Kinsella <simon@bluefiresystems.co.uk>
parent: Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 5+ messages in thread
From: Simon Kinsella @ 2006-10-27 08:36 UTC (permalink / raw)
To: pgsql-admin
Thanks for your help Tom - I've got it sorted now by setting
timezone='GMT0DST' in the conf file.
Simon.
-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Thursday, October 26, 2006 5:16 PM
To: Simon Kinsella
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] Postgres timestamps are out by one hour
"Simon Kinsella" <simon@bluefiresystems.co.uk> writes:
> template1=# show timezone;
> TimeZone
> ----------
> GMT0
That's a non-daylight-savings zone ... and one would guess that the
postmaster was started with TZ=GMT or some such, else it would not have
picked that as the Postgres zone.
regards, tom lane
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2006-10-27 08:36 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-10-26 15:17 Postgres timestamps are out by one hour Simon Kinsella <simon@bluefiresystems.co.uk>
2006-10-26 15:52 ` Tom Lane <tgl@sss.pgh.pa.us>
2006-10-26 16:07 ` Simon Kinsella <simon@bluefiresystems.co.uk>
2006-10-26 16:16 ` Tom Lane <tgl@sss.pgh.pa.us>
2006-10-27 08:36 ` Simon Kinsella <simon@bluefiresystems.co.uk>
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