Re: Diagnostic functions

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Diagnostic functions
Дата
Msg-id 463EF619.20703@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Diagnostic functions  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Diagnostic functions  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-patches
Peter Eisentraut wrote:
> Heikki Linnakangas wrote:
>> Here's an update of Simon's Heap Page Diagnostic Functions. I now
>> consider it ready to commit.
>
> How is this better than pg_filedump?

It's handy to be able to inspect pages from within a live database. The
new functions work through shared_buffers, so you can see changes
without having to issue a checkpoint to flush them to disk. pg_filedump
takes a filename as argument, the new function takes relation name.

Having them as functions also allows you to do more advanced queries
like "... WHERE (t_infomask & 1) <> 0 " to show tuples with a null bitmap.

> "diagnostics" is an awfully general name, too.

We already played the name game on hackers. My original suggestion was
"pgforensics". "pgdiagfuncs" and "pginspect" were also suggested, among
others. I'm still open to suggestions, though. Have any?

--
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com

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

Предыдущее
От: "Magnus Hagander"
Дата:
Сообщение: Re: Clear up strxfrm() in UTF-8 with locale on Windows
Следующее
От: "Pavan Deolasee"
Дата:
Сообщение: HOT patches