Re: How to parse Datum

From: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
To: Zhe He <henryhezhe2003(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: How to parse Datum
Date: 2008-11-03 11:41:45
Message-ID: 490EE379.3030905@sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

There are several macros like DatumGetInt and so on. See postgres.h for details.

Zdenek

Zhe He napsal(a):
> I met a problem with parsing Datum,
> is there any good way to parse this
> kind of value? Because I want to get
> the value in an attribute of a table.
> In TupleTableSlot, there is a tts_values
> which is Datum type. Does anyone know how
> to parse it?
>
> Best Regards,
> Zhe HE
> TEL: (001) 646-789-3008
> Address:965 Amsterdam Avenue,
> New York, NY 10025
>
> Master Student, CS Dept.
> Columbia University
> www.columbia.edu/~zh2132
> -------------------------------------------
> 07 Alumni
> Bachelor of Eng, BUPT
> www.bupt.edu.cn
>

--
Zdenek Kotala Sun Microsystems
Prague, Czech Republic http://sun.com/postgresql

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2008-11-03 12:31:41 Re: Re: [BUGS] libpq does not manage SSL callbacks properly when other libraries are involved.
Previous Message KaiGai Kohei 2008-11-03 11:36:37 Re: Updates of SE-PostgreSQL 8.4devel patches (r1168)