From: Jeff Lynn <jmlynn@rogers.com>
To: pgsql-interfaces@postgresql.org
Subject: How do you convert PostgreSQL internal binary field to C datatypes
Date: Tue, 22 May 2007 14:35:02 -0400
Message-ID: <465337D6.6080103@rogers.com> (raw)
Does someone out there has some example(s) of converting the
PostgreSQL's internal (network byte order) representation of float4,
flost8, date, datetime and timestamp into Win32 float, double, CTime or
any Win32 date/time construct under Intel x86 h/w architecture?
Andrew McNamara in previous post suggested that there are answers in the
server source codes. But for a beginner like me, even though I have
extensive coding experience in C, C++ and Java, such undertaking for a
significant product like PostgreSQL is a bit overwhelming for now.
I really do want to explore the usage of PostgreSQL further! So any
help will be greatly appreciated.
Jeff,
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: jmlynn@rogers.com
Subject: Re: How do you convert PostgreSQL internal binary field to C datatypes
In-Reply-To: <465337D6.6080103@rogers.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