Re: Show various offset arrays for heap WAL records

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: Show various offset arrays for heap WAL records
Дата
Msg-id CAH2-WzmqCBQj2jDmP+8N9Q+=bvZpYqVA9_EOgchPuYV7eO63NQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Show various offset arrays for heap WAL records  (Andres Freund <andres@anarazel.de>)
Ответы Re: Show various offset arrays for heap WAL records
Список pgsql-hackers
On Wed, Jan 11, 2023 at 3:00 PM Andres Freund <andres@anarazel.de> wrote:
> What are your thoughts about the place for the helper functions? You're ok
> with rmgrdesc_utils.[ch]?

Yeah, that seems okay.

We may well need to put more stuff in that file. We're overdue a big
overhaul of the rmgr output, so that everybody uses the same format
for everything. We made some progress on that for 16 already, by
standardizing on the name snapshotConflictHorizon, but a lot of
annoying inconsistencies still remain. Like the punctuation issue you
mentioned.

Ideally we'd be able to make the output more easy to manipulate via
the SQL interface from pg_walinspect, or perhaps via scripting. That
would require some rules that are imposed top-down, so that consumers
of the data can make certain general assumptions. But that's fairly
natural. It's not like there is just inherently a great deal of
diversity that we need to be considered. For example, the WAL records
used by each individual index access method are all very similar. In
fact the most important index AM WAL records used by each index AM
(e.g. insert, delete, vacuum) have virtually the same format as each
other already.

-- 
Peter Geoghegan



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: No Callbacks on FATAL
Следующее
От: Justin Pryzby
Дата:
Сообщение: Re: Use windows VMs instead of windows containers on the CI