From: Tom Lane <tgl@sss.pgh.pa.us>
To: Florian Mader <florian_mader@gmx.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: Timestamp Fractions Problem
Date: Fri, 13 Sep 2002 23:35:03 -0400
Message-ID: <23279.1031974503@sss.pgh.pa.us> (raw)
In-Reply-To: <000001c25b34$cf82d480$0300a8c0@FPCm>
References: <000001c25b34$cf82d480$0300a8c0@FPCm>
"Florian Mader" <florian_mader@gmx.net> writes:
> I have got a really big problem with queries for Timestamp-Values.
> select mod_ from TMODUL
> This query, sent to a DBII returns the value
> 2002-09-11 17:47:30.017000
> The same query sent to a PostgreSQL returns the value
> 2002-09-11 17:47:30
Around here I get
regression=# select mod_ from TMODUL ;
ERROR: Relation "tmodul" does not exist
If I guess about what you meant then I get:
regression=# create table TMODUL(mod_ timestamp);
CREATE TABLE
regression=# insert into TMODUL values (now());
INSERT 1062096 1
regression=# select mod_ from TMODUL ;
mod_
----------------------------
2002-09-13 23:33:53.516852
(1 row)
Perhaps you should be a tad more specific about how your table is
declared and what you are doing to put data into it.
regards, tom lane
PS: could we also ask you to suppress HTML output from your mailer?
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, florian_mader@gmx.net
Subject: Re: Timestamp Fractions Problem
In-Reply-To: <23279.1031974503@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