Re: Heap page diagnostic/test functions (WIP)
От | Tom Lane |
---|---|
Тема | Re: Heap page diagnostic/test functions (WIP) |
Дата | |
Msg-id | 4470.1173193777@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: Heap page diagnostic/test functions (WIP) (Gregory Stark <stark@enterprisedb.com>) |
Список | pgsql-patches |
Gregory Stark <stark@enterprisedb.com> writes: > "Simon Riggs" <simon@2ndquadrant.com> writes: >> I'll return the infomasks directly, for you to manipulate. >> >> Not happy with that, but open to suggestions. > Well the alternative would be a long list of boolean columns which would make > the output kind of long. > Perhaps a function pg_decode_infomask(varbit) which returns a ROW of booleans > with appropriate names would be a good compromise. If you want it you could > use it in your query. This is pointless --- the function is already intended only for debugging considerations, and anyone who needs it can be assumed capable of ANDing with a bitmask or whatever he needs to do to inspect the values. I don't see anyone asking for pretty display of cmin, say, and yet that's certainly not that easy to interpret either. As for masks plural, I'd be inclined to merge them into one 32-bit result --- the distinction between flag bits in infomask and infomask2 is at this point entirely historical. regards, tom lane
В списке pgsql-patches по дате отправления: