Re: Text search segmentation fault

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Text search segmentation fault
Дата
Msg-id 22358.1233247822@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Text search segmentation fault  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-general
Gregory Stark <stark@enterprisedb.com> writes:
> I really think he should just change all the "unsigned int" into "unsigned
> char" and not do the type punning with pointer casts. That's just evil.

Oh, I see.  That would work too, but I don't really see that it's a huge
improvement.

What *would* be an improvement IMHO is to declare the pointer as
unsigned char * in the first place ;-).  However, that might result
in having to introduce a lot of casts elsewhere ...

            regards, tom lane

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

Предыдущее
От: Gerhard Wiesinger
Дата:
Сообщение: Full backup - pg_dumpall sufficient?
Следующее
От: Raymond O'Donnell
Дата:
Сообщение: Re: Full backup - pg_dumpall sufficient?