btvacuumpage useless "orig_blkno"

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема btvacuumpage useless "orig_blkno"
Дата
Msg-id 1321912069-sup-456@alvh.no-ip.org
обсуждение исходный текст
Ответы Re: btvacuumpage useless "orig_blkno"  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
I just noticed that btvacuumpage has two BlockNumber parameters -- blkno
and orig_blkno.  The only caller passes them as the same value; the
header comments state that blkno would be different when recursing, but
actually the function implements recursion internally by way of a cute
"goto" trick.  So it seems to me that the orig_blkno parameter is
useless -- we could just remove it.

Unless I'm completely missing something?

--
Álvaro Herrera <alvherre@alvh.no-ip.org>

Вложения

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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Writeable FDWs?
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: btvacuumpage useless "orig_blkno"