Toast datum - Mailing list pgsql-general

From Nick Raj
Subject Toast datum
Date
Msg-id BANLkTi=zXHuq-8WJk8_gUYMYLWMEzxtWbA@mail.gmail.com
Whole thread Raw
List 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

pgsql-general by date:

Previous
From: John R Pierce
Date:
Subject: Re: How do we combine and return results from multiple queries in a loop?
Next
From: Tarlika Elisabeth Schmitz
Date:
Subject: Re: Role for CSV import