Re: Document and/or remove unreachable code in tuptoaster.c from varvarlena patch

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: Document and/or remove unreachable code in tuptoaster.c from varvarlena patch
Дата
Msg-id 871wetpxzy.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответ на Document and/or remove unreachable code in tuptoaster.c from varvarlena patch  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-hackers
Sorry, meant to send the previous message to pgsql-patches.

Here's a version cut using cvs diff so it's usable with -p0

I added one more fixup. There was a silly test in toast_fetch_datum_slice()
which handled compressed datums. Returning a slice of a compressed datum is
nonsensical with toast since the resulting datum would be useless. I also
added an assertion in this function that the datum is external before we treat
it as a toast_pointer.

(Incidentally, I did eventually manage to construct a case to reach all the pfrees.)




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

Вложения

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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: [PATCHES] allow CSV quote in NULL
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: [PATCHES] allow CSV quote in NULL