Re: pageinspect: Hash index support

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: pageinspect: Hash index support
Дата
Msg-id 20160830170633.GA508711@alvherre.pgsql
обсуждение исходный текст
Ответ на pageinspect: Hash index support  (Jesper Pedersen <jesper.pedersen@redhat.com>)
Ответы Re: pageinspect: Hash index support  (Michael Paquier <michael.paquier@gmail.com>)
Re: pageinspect: Hash index support  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-hackers
Jesper Pedersen wrote:
> Hi,
> 
> Attached is a patch that adds support for hash indexes in pageinspect.
> 
> The functionality (hash_metap, hash_page_stats and hash_page_items) follows
> the B-tree functions.

I suggest that pageinspect functions are more convenient to use via the
get_raw_page interface, that is, instead of reading the buffer
themselves, the buffer is handed over from elsewhere and they receive it
as bytea.  This enables other use cases such as grabbing a page from one
server and examining it in another one.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: sequences and pg_upgrade
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Missing checks when malloc returns NULL...