Re: Need Help w/ Timestamps

From: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
To: Enrico Riedel <eriedel(at)thunderelectricinc(dot)com>
Cc: pgsql general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Need Help w/ Timestamps
Date: 2006-09-11 21:25:41
Message-ID: 1158009941.1854.0.camel@state.g2switchworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 2006-09-11 at 10:05, Enrico Riedel wrote:
> Hi!
>
> I moved all of our PostGRE DBs from Windows to Linux last weekend.
> Everything went well, performance is great, BUT there is one issue that I
> need to solve.
>
> My problem is, that the precision for timestamps in Linux is greater than in
> Windows. That seems to be fine, but MS Access cannot handle it. E.g.:
>
> Windows Timestamp: 2006-09-08 15:25:42.332
> Linux Timestamp: 2006-09-09 21:25:06.947069
>
> Is there any way (even somehow through the ODBC driver) to restrict the
> timestamp accuracy to "M$ Win" accuracy?
>

select now()::timestamp(3);

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Simon_Kelly 2006-09-11 21:51:20 Issue with order by for type varchar
Previous Message Ivan Sergio Borgonovo 2006-09-11 21:14:24 Re: Need Help w/ Timestamps