timestamp resolution?

From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: pgsql-hackers(at)postgresql(dot)org
Subject: timestamp resolution?
Date: 2001-10-04 04:51:11
Message-ID: 20011004135111R.t-ishii@sra.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Is this an expected behavior? I could not see why t1 and t2 are
showing different time resolutions...

test=# create table t3(t1 timestamp(2), t2 timestamp(2) default current_timestamp);
CREATE
test=# insert into t3 values(current_timestamp);
INSERT 16566 1
test=# select * from t3;
t1 | t2
------------------------+---------------------------
2001-10-04 13:48:34+09 | 2001-10-04 13:48:34.34+09
(1 row)

--
Tatsuo Ishii

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Lockhart 2001-10-04 05:48:14 Re: timestamp resolution?
Previous Message Thomas Lockhart 2001-10-04 04:46:45 Re: BUG: text(varchar) truncates at 31 bytes