Timestamp Fractions Problem - Mailing list pgsql-sql

From Florian Mader
Subject Timestamp Fractions Problem
Date
Msg-id 000001c25b33$487a75c0$0300a8c0@FPCm
Whole thread Raw
List pgsql-sql
Hello,

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

I know that the fractions are also stored in the PostgreSQL, because the
query
select to_char(mod_, 'YYYY-MM-DD HH24:MI:SS.US') from TMODUL

returns also
2002-09-11 17:47:30.017000

What's the property I have to set, so that an ordinary "select mod_ from
TMODUL" also returns fractions?

Platform Info
OS: Win2000
Emulator: cygWin
PostgreSQL: 7.2.1

Does anybody have an idea?
TIA
Florian 



pgsql-sql by date:

Previous
From: pacquet@newsguy.com
Date:
Subject: "Inverting" a table, OLAP-style
Next
From: prakashrj@hotmail.com (jaya prakash)
Date:
Subject: does table names have a format and size