From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> |
Cc: | Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>, Alvaro Herrera from 2ndQuadrant <alvherre(at)alvh(dot)no-ip(dot)org>, Craig Ringer <craig(at)2ndquadrant(dot)com>, Ashutosh Sharma <ashu(dot)coek88(at)gmail(dot)com>, Julien Rouhaud <rjuju123(at)gmail(dot)com>, Peter Geoghegan <pg(at)bowt(dot)ie>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Abhijit Menon-Sen <ams(at)2ndquadrant(dot)com>, Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, Pavan Deolasee <pavan(dot)deolasee(at)2ndquadrant(dot)com> |
Subject: | Re: [HACKERS] [PATCH] pageinspect function to decode infomasks |
Date: | 2019-09-13 03:30:41 |
Message-ID: | 20190913033041.GB2285@paquier.xyz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, Sep 12, 2019 at 05:24:17PM +0530, Amit Kapila wrote:
> On Thu, Sep 12, 2019 at 4:48 PM Michael Paquier <michael(at)paquier(dot)xyz> wrote:
> Hmm, I thought when decode_combined flag is set to false means we will
> display the raw flags set on the tuple without any further
> interpretation. I think that is what is most people in thread
> advocated about.
Sorry if I created any confusion. When set to false then the raw list
of flags is returned, and that's the default. The example provided in
the docs is careful about that, as well as the description done for
the option (at least I guess so!).
> Yes, I think we could have more discussion on this point. It is not
> 100% clear how we should interpret this flag and or where to draw a
> line. It might be that whatever we have done is alright, but still,
> it is worth more discussion and opinion from a few more people.
Of course.
>> decode_combined sounds like a good compromise to me. If there is a
>> better consensus, well, let's use it, but I don't find those
>> suggestions to be improvements.
>
> I think it depends on the meaning of that flag.
Perhaps using "decode" is the confusing part here? It is more like a
"merge" of the flags, or just a combination of them. An idea that
just popped here would be to name the switch "combine_flags" instead.
--
Michael
From | Date | Subject | |
---|---|---|---|
Next Message | Dilip Kumar | 2019-09-13 04:04:50 | Re: pgbench - allow to create partitioned tables |
Previous Message | Michael Paquier | 2019-09-13 03:23:12 | Re: Create collation reporting the ICU locale display name |