Skip site navigation (1) Skip section navigation (2)

Re: "TZ"/"tz" not supported

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: "TZ"/"tz" not supported
Date: 2008-06-20 06:50:21
Message-ID: 20080620065021.GD14379@a-kretschmer.de (view raw or flat)
Thread:
Lists: pgsql-sql
am  Fri, dem 20.06.2008, um  8:35:10 +0200 mailte Peter Kovacs folgendes:
> Thank you, Andreas! Your advice is very useful to me.
> 
> I would still be interested why "TZ" is not accepted in the format string.

I think because TZ is only useful for displaying a timestamptz and not
for internal representation and/or calculation.

For displaying you can use to_char(timestamptz, format-string).


Andreas
-- 
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net

In response to

Responses

pgsql-sql by date

Next:From: Peter KovacsDate: 2008-06-20 07:37:49
Subject: Re: "TZ"/"tz" not supported
Previous:From: Peter KovacsDate: 2008-06-20 06:35:10
Subject: Re: "TZ"/"tz" not supported

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group