Re: how to show time zone with numerical offset in CSV log?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Zoet <Michael(dot)Zoet(at)zoet(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: how to show time zone with numerical offset in CSV log?
Date: 2015-09-22 14:26:41
Message-ID: 4245.1442932001@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Michael Zoet <Michael(dot)Zoet(at)zoet(dot)de> writes:
> Is there a way to convince Postgres to write the date/time with
> numerical time zone values to the log files?

Try something like

log_timezone = '<-0400>+4'

See the discussion of POSIX timezone names here:
http://www.postgresql.org/docs/9.4/static/datatype-datetime.html#DATATYPE-TIMEZONES

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2015-09-22 14:30:40 Re: how to show time zone with numerical offset in CSV log?
Previous Message Willy-Bas Loos 2015-09-22 14:18:22 could not load library liblwgeom-2.1.7.so