Why there is a union in HeapTupleHeaderData struct

Поиск
Список
Период
Сортировка
От Soroosh Sardari
Тема Why there is a union in HeapTupleHeaderData struct
Дата
Msg-id CAFUsPDaD1yTJ0KmRUaAOt80ULBe-LhkWpmSYTU2ZgxnKKLecFQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Why there is a union in HeapTupleHeaderData struct
Список pgsql-hackers
Dear Hackers

In fix part oh HeapTuple, there is a union that is named t_choice,
union
    {
        HeapTupleFields t_heap;
        DatumTupleFields t_datum;
    }            t_choice;

I can't find out why we need t_datum, actually there is no comment about DatumTupleFields.

Regards
Soroosh


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

Предыдущее
От: amul sul
Дата:
Сообщение: Re: Proposal to add connection request Wait-time in PSQL client.
Следующее
От: Dean Rasheed
Дата:
Сообщение: Re: [9.3] Automatically updatable views vs writable foreign tables