Timestamp format question

From: Carlos Guzmán Álvarez <carlosga(at)telefonica(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Timestamp format question
Date: 2004-06-18 17:19:38
Message-ID: 40D3242A.7090103@telefonica.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello:

A user of the PgSqlClient ADO.NET provider is having problems
when with timestamp and time values, he has a postgres 7.4.1
postgres install in a Suse machine.

The provider works implements v3.0 of the postgres protocol handling
timestamp andtime in binary format, the problem seems to be that the
server is sending the timestamp value encoded as an Int64, but when
running the same test against the postgresql snapshot for win32 the
value seems to be encoded as a double :-\ (i have run the same test
postgres 7.4.2 on Fedora Core 1 and seem s to be sending it encoded
as a double)

What is the supposed format that should be expected for time and
timestamp values in binary format ??

There are any way to retrieve the value encoded always in the same
way ?? or i'm making something really bad ?? :)

--
Best regards

Carlos Guzmán Álvarez
Vigo-Spain

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andreas Pflug 2004-06-18 17:46:17 Re: pgsql-server: Tablespaces.
Previous Message Tom Lane 2004-06-18 17:11:19 Re: specifying multiple result format codes with libpq