Toast datum

From: Nick Raj <nickrajjain(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Toast datum
Date: 2011-05-16 07:56:22
Message-ID: BANLkTi=zXHuq-8WJk8_gUYMYLWMEzxtWbA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

#define DatumGetNDBOX(x) ((NDBOX*)DatumGetPointer(x))
#define PG_GETARG_NDBOX(x) DatumGetNDBOX(
PG_DETOAST_DATUM(PG_GETARG_DATUM(x)) )

Now i have to define
#define NDBOXGetDatum(x) (????)PointerGetDatum(x)

Is there any need to replace this ?? with some toastable thing or is it
sufficient?
If some toastable require then, what is that macro?

Thanks

Browse pgsql-general by date

  From Date Subject
Next Message Robert Klemme 2011-05-16 08:19:47 Re: [PERFORMANCE] expanding to SAN: which portion best to move
Previous Message John R Pierce 2011-05-16 05:28:09 Re: How do we combine and return results from multiple queries in a loop?