From: Philippe Rochat (RSR: 318 17 93) <prochat@lbdsun.epfl.ch>
To: pgsql-sql@postgresql.org
To: pgsql-hackers@postgresql.org
Cc: postgres@lbdsun.epfl.ch
Subject: Time format ? (Really microsecond ??)
Date: Thu, 22 Oct 1998 12:37:35 +0200
Message-ID: <362F0AEF.839F5A17@lbdsun.epfl.ch> (raw)
Hello, I'm trying to use microseconds in a field time:
siranau=> create table toto ( a time );
CREATE
siranau=> insert into toto values ('00:10:45.56');
INSERT 61641 1
siranau=> select * from toto;
a
--------
00:10:45
(1 row)
As you can see, I cannot get the microseconds value.
Something more problematic is the following:
% pg_dump -t toto siranau
\connect - siranau
CREATE TABLE toto (a time);
COPY toto FROM stdin;
00:10:45
\.
As you can see, microseconds values are lost !
Ph.R.
--
_____________________________________________________________________
Philippe Rochat, EPFL DI-LBD
Database Laboratory CH-1015 LAUSANNE
Swiss Federal Institute of Technology (EPFL) tel:++41 21 693 52 53
Beep-EPFL: 181 4644 fax:++41 21 693 51 95
Private: Grammont, 9 1007 LAUSANNE tel:++41 21 617 03 05
mailto:Philippe.Rochat@epfl.ch, http://lbdwww.epfl.ch/~prochat
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-sql@postgresql.org
Cc: prochat@lbdsun.epfl.ch, pgsql-hackers@postgresql.org, postgres@lbdsun.epfl.ch
Subject: Re: Time format ? (Really microsecond ??)
In-Reply-To: <362F0AEF.839F5A17@lbdsun.epfl.ch>
References: <362F0AEF.839F5A17@lbdsun.epfl.ch>
* 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