pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: kako@zhnet.hu
To: pgsql-bugs@postgresql.org
Subject: BUG #8067: now() bug?
Date: Sun, 14 Apr 2013 06:59:54 +0000
Message-ID: <E1URGuo-0003aq-QR@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

The following bug has been logged on the website:

Bug reference:      8067
Logged by:          Istvan Kassai
Email address:      kako@zhnet.hu
PostgreSQL version: 9.0.1
Operating system:   Linux DRONE 2.6.32.27 #5 Wed Dec 21 12:11:46 CET 2
Description:        

function "now()" sometimes returns with a value with timezone data,
sometimes without.

for example:

*****************************************
therm=# select now();
            now
----------------------------
 2013-04-14 06:58:12.056065
(1 row)

therm=# select now();
              now
-------------------------------
 2013-04-14 08:58:12.766165+02
(1 row)

therm=# select now();
            now
----------------------------
 2013-04-14 06:58:16.046629
(1 row)
*****************************************

is it a bug or a feature?



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (2+ messages)  latest in thread

Message-ID: <E1URGuo-0003aq-QR@wrigleys.postgresql.org>
Permalink:  ../E1URGuo-0003aq-QR@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/E1URGuo-0003aq-QR@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: kako@zhnet.hu
  Subject: Re: BUG #8067: now() bug?
  In-Reply-To: <E1URGuo-0003aq-QR@wrigleys.postgresql.org>
  References: <E1URGuo-0003aq-QR@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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