Eliminate more detoast copies for packed varlenas

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Eliminate more detoast copies for packed varlenas
Дата
Msg-id 876424ufsd.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответы Re: Eliminate more detoast copies for packed varlenas  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Eliminate more detoast copies for packed varlenas  ("Brendan Jurd" <direvus@gmail.com>)
Список pgsql-patches
Ok, this removes what should be most if not all of the call sites where we're
detoasting text or byteas. In particular it gets all the regexp/like functions
and all the trim/pad functions. It also gets hashtext and hash_any.


$ zcat packed-varlena-efficiency_v0.patch.gz | diffstat
 backend/access/hash/hashfunc.c    |   12 !!
 backend/utils/adt/like.c          |   80 !!!!!!!!!!!!!!!!!!!
 backend/utils/adt/oracle_compat.c |  157 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 backend/utils/adt/regexp.c        |  119 !!!!!!!!!!!!!!!!!!!!!!!!!!!!
 include/fmgr.h                    |    1
 5 files changed, 5 insertions(+), 364 modifications(!)


--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Minor comment fixes
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Eliminate more detoast copies for packed varlenas