Re: [HACKERS] binary representation of datatypes

2008-10-22 Thread Matthieu Imbert
Jeroen Vermeulen wrote: Matthieu Imbert wrote: scenario 1 - parse the textual representation of all results of requests to the database and convert textual timestamps to a binary format that i choose among those ones (number of microseconds since 2000-01-01, or a structure similar to pg_tm

[HACKERS] binary representation of datatypes

2008-10-21 Thread Matthieu Imbert
will not be broken by future postgresql release, and is portable. best regards, -- Matthieu Imbert -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers

Re: [HACKERS] binary representation of datatypes

2008-10-21 Thread Matthieu Imbert
Michael Meskes wrote: On Tue, Oct 21, 2008 at 10:21:38AM +0200, Matthieu Imbert wrote: I would like to be able to get results from SQL commands directly in a binary format, instead of a textual one. Actually, I want to be able to get timestamps with their full precision (microsecond