Re: patch adding new regexp functions

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: patch adding new regexp functions
Дата
Msg-id 87r6rihj23.fsf@stark.xeocode.com
обсуждение исходный текст
Ответ на Re: patch adding new regexp functions  (Jeremy Drake <pgsql@jdrake.com>)
Ответы Re: patch adding new regexp functions  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-patches
"Jeremy Drake" <pgsql@jdrake.com> writes:

> BTW, should I be calling get_typlenbyvalalign on TEXTOID or are there macros
> for those also?

Hardcoding -1 for typlen of varlenas is one of the few (the only?) magic
constants used throughout the source code. I'm surprised there isn't a macro
for it though.

Do you need the alignment? If so I want to check the code against the packed
varlena patch. Just in case.


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

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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Win32 shmem
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: patch adding new regexp functions