The following bug has been logged on the website:
Bug reference: 15245Logged by: Mahadevan RamachandranEmail address: mahadevan(at)rapidloop(dot)comPostgreSQL version: 10.4Operating system: anyDescription:
The system view pg_catalog.pg_stat_all_tables (and therefore alsopg_catalog.pg_stat_user_tables) do not list partition master tables (CREATETABLE ... PARTITION BY ..).
This is because it only includes rows from pg_class with relkind IN ('r','t', 'm') (as defined in src/backend/catalog/system_views.sql).
IMHO, it should also include rows with relkind = 'p'.