pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: nimeshb <nimeshb@syscon-intl.com>
Cc: Brian McCane <bmccane@mccons.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: time stamp
Date: Thu, 20 Jun 2002 12:48:37 -0400
Message-ID: <12748.1024591717@sss.pgh.pa.us> (raw)
In-Reply-To: <001301c21867$1814a720$110a11ac@sysconintl.com>
References: <20020619183144.B2042-100000@fw.mccons.net>
	<001301c21867$1814a720$110a11ac@sysconintl.com>

"nimeshb" <nimeshb@syscon-intl.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



view thread (15+ messages)  latest in thread

Message-ID: <12748.1024591717@sss.pgh.pa.us>
Permalink:  ../12748.1024591717@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/12748.1024591717@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, nimeshb@syscon-intl.com, bmccane@mccons.net
  Subject: Re: time stamp
  In-Reply-To: <12748.1024591717@sss.pgh.pa.us>
  References: <20020619183144.B2042-100000@fw.mccons.net> <001301c21867$1814a720$110a11ac@sysconintl.com> <12748.1024591717@sss.pgh.pa.us>

* 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