Re: Bug#98565: postgresql logs notices with GMT timestamps in syslog (fwd)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Bug#98565: postgresql logs notices with GMT timestamps in syslog (fwd)
Date: 2001-05-24 18:58:01
Message-ID: 1796.990730681@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Oliver Elphick" <olly(at)lfix(dot)co(dot)uk> writes:
> I just got this extra information from the reporter.

> The connection that is creating this NOTICE is executing
> "set time zone 'GMT';" immediately after connection; I
> suspect that what's happening is that postmaster is setting the
> libc timezone (by changing the environment and calling tzset)
> when is executes that query, causing subsequent system calls
> (including syslog) to use the new timezone.

Uh-huh. This is not a bug, or at least it's not our bug.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-05-24 19:02:14 Re: Smaller access privilege changes
Previous Message Peter Eisentraut 2001-05-24 18:41:16 Re: Smaller access privilege changes