df7cb / pg_filedump

pg_filedump provides facilities for low-level examination of PostgreSQL tables and indexes
43 stars 18 forks source link

Add flags #15

Closed Green-Chan closed 1 year ago

Green-Chan commented 1 year ago
  1. I tried to fix "if (hashSection->hasho_flag & LH_UNUSED_PAGE)" condition. As LH_UNUSED_PAGE is 0 this condition is always false. As I understand hash index page is unused when it's none of the other types. I only changed this line, but may be we should consider switch case block on hash index page types for any page should only be one of the types.
  2. I also noticed some new index pages flags that are missed and not being printed. Added them
df7cb commented 1 year ago

Merged as 79cbcd8e, thanks!