arguments are not toastable

Поиск
Список
Период
Сортировка
От Nick Raj
Тема arguments are not toastable
Дата
Msg-id BANLkTimNaaakXvn1NVcMFczdFZ3_pAMv0g@mail.gmail.com
обсуждение исходный текст
Список pgsql-general
Hi,
I have defined some function and also used NDBOX structure that having variable length.

typedef struct NDBOX
{
    int32        vl_len_;        /* varlena length */
    unsigned int dim;
    double        x[1];
} NDBOX;

When i called my function, it gives NDBOX to be null
On debugging, i found out ,FunctionInvokeCall invokes fmgr_oldstyle function, for getting argument

if (fnextra->arg_toastable[i])    //this returns false, not able to get arguments
            fcinfo->arg[i] = PointerGetDatum(PG_DETOAST_DATUM(fcinfo->arg[i]));
    }

Why it is going into fmgr_oldstyle if the arguments is not toasted? "How to get arguments toastable??" and even my table pg_class.reltoastrelid entry is zero.


Thanks

В списке pgsql-general по дате отправления:

Предыдущее
От: Tarlika Elisabeth Schmitz
Дата:
Сообщение: Re: Role for CSV import
Следующее
От: Sukuchha Shrestha
Дата:
Сообщение: Remove Duplicate Words from a field