pgsql: Don't assume that PageIsEmpty() returns true on an all-zeros pag

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Don't assume that PageIsEmpty() returns true on an all-zeros pag
Дата
Msg-id E1ZJkkg-0002Mb-9T@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Don't assume that PageIsEmpty() returns true on an all-zeros page.

It does currently, and I don't see us changing that any time soon, but we
don't make that assumption anywhere else.

Per Tom Lane's suggestion. Backpatch to 9.2, like the previous patch that
added this assumption.

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/9c88e06b5a24341e0e82fbab7b02de271adf1f47

Modified Files
--------------
src/backend/access/spgist/spgvacuum.c |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: pgsql: Fix handling of all-zero pages in SP-GiST vacuum.
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Don't assume that PageIsEmpty() returns true on an all-zeros pag