Date/Time types - Mailing list pgsql-sql

From Seb
Subject Date/Time types
Date
Msg-id amenp5$1mtv$1@news.hub.org
Whole thread Raw
Responses Re: Date/Time types  ("Josh Berkus" <josh@agliodbs.com>)
List pgsql-sql
Hello,

I'm french, so excuse me if my english is not correct.

I'd like to create a table with a Timestamp row (named date for example) and
width a resolution as smaller as possible (1 microsecond if possible).

What is exactly the correct query for that question ?

The query I've written is :
CREATE TABLE "table" (
"id" int4 NOT NULL,
"date" timestamp [13] NOT NULL )


If this correct, I've a second question : how can I insert a value ??? I've
tried many ways but any works ! I'm lost....
I've tried to cast, to use CURRENT_TIMESTAMP with a precision, but nothing
works...


Thanks for your help

Seb




pgsql-sql by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: Case Sensitive "WHERE" Clauses?
Next
From: CoL
Date:
Subject: Re: Two Permance Questions