pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vilson farias <vilson.farias@digitro.com.br>
To: pgsql-admin@postgresql.org
Subject: Some timestamp problems
Date: Thu, 29 Aug 2002 16:59:18 -0300
Message-ID: <0ad501c24f96$900a5480$98a0a8c0@dgtac> (raw)

Greetings,

  I found some strange behaviour in 7.1.2. Is it the same thing on 7.2.2 ?

  I don't know if it's a psql bug, but I would like to report it anyway

bxs=# \d test2
                     Table "test2"
    Attribute     |           Type           | Modifier
------------------+--------------------------+----------
 x                | integer                  |
 apagar_menor_que | timestamp with time zone |

bxs=# insert into test2 values(1, '2111-10-01 04:23:59.999');
INSERT 259672 1
bxs=# insert into test2 values(2, '20001-10-01 04:23:50');
INSERT 259673 1
bxs=# insert into test2 values(3, '20001-10-01 04:23:59');
INSERT 259674 1
bxs=# insert into test2 values(4, '20001-10-01 04:23:59.99');
INSERT 259675 1
bxs=# insert into test2 values(5, '20001-10-01 04:23:59.999');
INSERT 259676 1
bxs=# insert into test2 values(6, '20001-10-01 04:23:59.998');
INSERT 259677 1
bxs=# SELECT * FROM test2;
 x |    apagar_menor_que
---+------------------------
 1 | 2111-10-01 04:23:60.00
 2 | 20001-10-01 04:2350
 3 | 20001-10-01 04:2359
 4 | 20001-10-01 04:2359.99
 5 | 20001-10-01 04:2360.00
 6 | 20001-10-01 04:2360.00
(6 rows)

bxs=#


Best regards from Brazil,

----------------------------------------------------------------------------
----
José Vilson de Mello de Farias
Software Engineer

Dígitro Tecnologia Ltda - www.digitro.com.br
APC - Customer Oriented Applications
E-mail: vilson.farias@digitro.com.br
Tel.: +55 48 281 7158
ICQ 11866179






view thread (5+ messages)  latest in thread

Message-ID: <0ad501c24f96$900a5480$98a0a8c0@dgtac>
Permalink:  ../0ad501c24f96$900a5480$98a0a8c0@dgtac/
Also on:    postgresql.org/message-id/0ad501c24f96$900a5480$98a0a8c0@dgtac

 · 

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-admin@postgresql.org
  Cc: vilson.farias@digitro.com.br
  Subject: Re: Some timestamp problems
  In-Reply-To: <0ad501c24f96$900a5480$98a0a8c0@dgtac>
  References: <0ad501c24f96$900a5480$98a0a8c0@dgtac>

* 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