Re: Bug#98565: postgresql logs notices with GMT timestamps in syslog (fwd) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Bug#98565: postgresql logs notices with GMT timestamps in syslog (fwd)
Date
Msg-id 1796.990730681@sss.pgh.pa.us
Whole thread Raw
In response to Re: Bug#98565: postgresql logs notices with GMT timestamps in syslog (fwd)  ("Oliver Elphick" <olly@lfix.co.uk>)
List pgsql-hackers
"Oliver Elphick" <olly@lfix.co.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


pgsql-hackers by date:

Previous
From: Ryan Mahoney
Date:
Subject: Re: Re: Shared memory for RH Linux 7.1
Next
From: Tom Lane
Date:
Subject: Re: Smaller access privilege changes