Toast datum

Поиск
Список
Период
Сортировка
От Nick Raj
Тема Toast datum
Дата
Msg-id BANLkTi=zXHuq-8WJk8_gUYMYLWMEzxtWbA@mail.gmail.com
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: How do we combine and return results from multiple queries in a loop?
Следующее
От: Tarlika Elisabeth Schmitz
Дата:
Сообщение: Re: Role for CSV import