Re: Make description of heap records more talkative for flags

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Make description of heap records more talkative for flags
Дата
Msg-id 20180423160216.m2yjhx67grofg7h5@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Make description of heap records more talkative for flags  (Andres Freund <andres@anarazel.de>)
Ответы Re: Make description of heap records more talkative for flags  (Michael Paquier <michael@paquier.xyz>)
Re: Make description of heap records more talkative for flags  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
Hello

Andres Freund wrote:

> On 2018-04-23 12:37:20 -0300, Alvaro Herrera wrote:
> > Michael Paquier wrote:
> > > On Thu, Apr 12, 2018 at 08:49:03PM -0700, Andres Freund wrote:
> > > > OTOH, that also kinda bloats the output noticeably... I'm
> > > > somewhat inclined to just put the hex value or such there?
> > > 
> > > That would do as well for me.
> > 
> > Me too.  Should we consider this for pg11?  My vote is yes, with no
> > backpatch (might break scripts reading pg_{wal,xlog}dump output.
> > Though, really!?).
> 
> It's low risk enough, but why should we try to get it into v11? Flags
> been around for years now.

I was thinking the newly added flags would make for possibly more
confusing scenarios, but now that I look again, the new ones are XLHL
flags not the XLOG flags being handled in this patch.

Now, frankly, this being mostly a debugging tool, I think it would be
better to have the output as complete as we can.  Otherwise, when
debugging some hideous problem we find ourselves patching the tool
during an emergency in order to figure out what is going on.  For this,
I would rather patch the earliest version we conveniently can.  We
cannot patch pg10 because it's already out there, but not so for pg11.

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


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: perltidy version
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Problem while setting the fpw with SIGHUP