Re: Assigning NULL to a record variable

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Assigning NULL to a record variable
Дата
Msg-id 16302.1348178119@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Assigning NULL to a record variable  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: Assigning NULL to a record variable
Список pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:
> 2012/9/20 Tom Lane <tgl@sss.pgh.pa.us>:
>> I'm not sure what the performance tradeoffs would be ---
>> some things would get faster and others slower, probably, since field
>> access would be more work but conversion to/from HeapTuple would get far
>> cheaper.

> when fields are fix length, then field's update is significantly
> faster then when RECORD is used

[ shrug... ]  Maybe not if we put a little effort into it.  It would be
interesting to consider using a TupleTableSlot instead of a bare
HeapTuple for instance.  In any case you're ignoring the point that
other things will get faster.
        regards, tom lane



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Properly set relpersistence for fake relcache entries.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: alter enum add value if not exists