Re: time stamp

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "nimeshb" <nimeshb(at)syscon-intl(dot)com>
Cc: "Brian McCane" <bmccane(at)mccons(dot)net>, pgsql-admin(at)postgresql(dot)org
Subject: Re: time stamp
Date: 2002-06-20 16:48:37
Message-ID: 12748.1024591717@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"nimeshb" <nimeshb(at)syscon-intl(dot)com> writes:
> CREATE TABLE test (ts TIMESTAMP WITHOUT TIME ZONE) ; doesn't work.

Oh? I get

test72=# CREATE TABLE test (ts TIMESTAMP WITHOUT TIME ZONE) ;
CREATE
test72=# insert into test values(now());
INSERT 803798 1
test72=# insert into test values('2002-02-22 12:34:56');
INSERT 803799 1
test72=# select * from test;
ts
----------------------------
2002-06-20 12:46:47.030269
2002-02-22 12:34:56
(2 rows)

test72=# select version();
version
---------------------------------------------------------------
PostgreSQL 7.2.1 on hppa-hp-hpux10.20, compiled by GCC 2.95.3
(1 row)

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Felipe Nascimento 2002-06-20 18:31:39 Re: time stamp
Previous Message nimeshb 2002-06-20 16:07:26 Re: time stamp