From: imad <immaad@gmail.com>
To: Shoaib Naazir <je_shoaib@hotmail.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: Query regarding PostgreSQL date/time binary format for libpq
Date: Sat, 27 Jan 2007 01:21:21 +0500
Message-ID: <1f30b80c0701261221t9bd0735yb221c7dfbc9fc6ad@mail.gmail.com> (raw)
In-Reply-To: <BAY124-W14A44C6A2BDB40EC97B2F381A30@phx.gbl>
References: <BAY124-W14A44C6A2BDB40EC97B2F381A30@phx.gbl>
I am not totally confident about it but my first guess is that it is not
possible. Because all data type "in" functions expect a char* as argument
from the world outside.
--Imad
www.EnterpriseDB.com
On 1/25/07, Shoaib Naazir <je_shoaib@hotmail.com> wrote:
>
> Hi,
> I am working on an application using PostgreSQL. I need to send date to
> PostgreSQL in binary format using the libpq interface. I have walked through
> the PostgreSQL code base, did find some reference to the date/time binary
> format but didn't get the exact format. To much code to digest in one parse
> :).
> Can you please provide me with any good reference to the exact binary
> format dbserver expect for date/time. I just can't use the text format :(.
> Any reference material, paper, web page or a mail specifying the exact
> binary date/time format will do.
>
> Thanks in advance. I really appreciate your time.
>
> regards,
> Shoaib Naazir.
>
>
> *Artificial intelligence is no match for natural
> stupidity. *
>
>
> ------------------------------
> Get into the holiday spirit, chat with Santa on Messenger. Ho-Ho-Ho!<http://imagine-windowslive.com/minisites/santabot/default.aspx?locale=en-us;
>
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-interfaces@postgresql.org
Cc: immaad@gmail.com, je_shoaib@hotmail.com
Subject: Re: Query regarding PostgreSQL date/time binary format for libpq
In-Reply-To: <1f30b80c0701261221t9bd0735yb221c7dfbc9fc6ad@mail.gmail.com>
* 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