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

Reply via email to