pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedQuery regarding PostgreSQL date/time binary format for libpq
2+ messages / 2 participants
[nested] [flat]
* Query regarding PostgreSQL date/time binary format for libpq
@ 2007-01-25 13:08 Shoaib Naazir <je_shoaib@hotmail.com>
2007-01-26 20:21 ` Re: Query regarding PostgreSQL date/time binary format for libpq imad <immaad@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: Shoaib Naazir @ 2007-01-25 13:08 UTC (permalink / raw)
To: pgsql-interfaces
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.
http://imagine-windowslive.com/minisites/santabot/default.aspx?locale=en-us=
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Query regarding PostgreSQL date/time binary format for libpq
2007-01-25 13:08 Query regarding PostgreSQL date/time binary format for libpq Shoaib Naazir <je_shoaib@hotmail.com>
@ 2007-01-26 20:21 ` imad <immaad@gmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: imad @ 2007-01-26 20:21 UTC (permalink / raw)
To: Shoaib Naazir <je_shoaib@hotmail.com>; +Cc: pgsql-interfaces
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;
>
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2007-01-26 20:21 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-01-25 13:08 Query regarding PostgreSQL date/time binary format for libpq Shoaib Naazir <je_shoaib@hotmail.com>
2007-01-26 20:21 ` imad <immaad@gmail.com>
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