pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #8067: now() bug?
2+ messages / 2 participants
[nested] [flat]

* BUG #8067: now() bug?
@ 2013-04-14 06:59 kako@zhnet.hu
  2013-04-15 15:47 ` Re: BUG #8067: now() bug? Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: kako@zhnet.hu @ 2013-04-14 06:59 UTC (permalink / raw)
  To: pgsql-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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #8067: now() bug?
  2013-04-14 06:59 BUG #8067: now() bug? kako@zhnet.hu
@ 2013-04-15 15:47 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2013-04-15 15:47 UTC (permalink / raw)
  To: kako@zhnet.hu; +Cc: pgsql-bugs

kako@zhnet.hu writes:
> function "now()" sometimes returns with a value with timezone data,
> sometimes without.

[ raised eyebrow... ]  Not for me, and not for anyone else that I've
ever heard of.  You've got a seriously broken build, I'm thinking.
Where did you get the PG executables from, or if you built them
yourself, what compiler and compile options did you use?

BTW, 9.0.1 is quite old --- that release series is at 9.0.13.

			regards, tom lane


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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2013-04-15 15:47 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-04-14 06:59 BUG #8067: now() bug? kako@zhnet.hu
2013-04-15 15:47 ` Tom Lane <tgl@sss.pgh.pa.us>

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