From: | Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> |
---|---|
To: | Michael Paquier <michael(at)paquier(dot)xyz> |
Cc: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>, 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-16 06:16:16 |
Message-ID: | CAA4eK1+GBB4L_WeKcpBEXUcnWC1ohpzKx1xZOzLZAPjRZ+5vKw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Sat, Sep 14, 2019 at 3:00 PM Michael Paquier <michael(at)paquier(dot)xyz> wrote:
>
> On Sat, Sep 14, 2019 at 03:03:57PM +0900, Michael Paquier wrote:
> > On Sat, Sep 14, 2019 at 11:18:37AM +0530, Amit Kapila wrote:
> >> Won't 'Lateral' clause be helpful here as the patch contains it in one
> >> of its tests?
> >
> > Ah true, I forgot that.
>
> If we are redesigning the interface, here are two extra thoughts which
> may be worth considering:
> 1) If the function returns multiple columns, could it make sense to
> separate infomask and infomask2? This would then give 3 columns:
> - The raw flags for infomask.
> - The three combined flags for infomask.
> - The flags for infomask2.
> 2) Could it make sense to have a separate function for infomask2?
>
I don't see much use of separating information for infomask and infomask2.
--
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com
From | Date | Subject | |
---|---|---|---|
Next Message | Tattsu Yama | 2019-09-16 06:26:10 | Re: [HACKERS] CLUSTER command progress monitor |
Previous Message | nilsocket | 2019-09-16 05:53:33 | Re: |