Search Postgresql Archives

Toast datum

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux