pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: ::Willi the One:: <sonic_and_tails2000@yahoo.com>
To: pgsql-interfaces@postgresql.org
Subject: Retrieving timestamp data
Date: Sun, 4 Mar 2007 07:23:10 -0800 (PST)
Message-ID: <20070304152310.95205.qmail@web36709.mail.mud.yahoo.com> (raw)

In the documentation, it says that PQgetvalue()
returns string values for strings and "the value is in
the binary representation determined by the data
type’s typsend and typreceive functions." The problem
is, where's the typsend and typrecieve located? I know
that it's not in libpq, but I saw libpgtypes somewhere
in the postgres directory and saw that there are
PGTYPE-related functions but I can't find the typsend.

For example, if I want to retrieve a timestamp data,
how would I do it? Will it return as a string when I
call PQgetvalue()? What about other types such Points
or inet types?

Thanks in advance.

Life is too short for dial-up.



 
____________________________________________________________________________________
Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097



view thread (6+ messages)  latest in thread

Message-ID: <20070304152310.95205.qmail@web36709.mail.mud.yahoo.com>
Permalink:  ../20070304152310.95205.qmail@web36709.mail.mud.yahoo.com/
Also on:    postgresql.org/message-id/20070304152310.95205.qmail@web36709.mail.mud.yahoo.com

 · 

reply

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: sonic_and_tails2000@yahoo.com
  Subject: Re: Retrieving timestamp data
  In-Reply-To: <20070304152310.95205.qmail@web36709.mail.mud.yahoo.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