When partitioned tables exist $dbh->table_info() is currently listing all the partitions (which are stored as tables, so it makes sense) but it does not include the parent partitioned tables, introduced in Postgres 10 with relkind = 'p'.
An alternative approach could be to create a new TABLE_TYPE value for partitioned tables.
When partitioned tables exist
$dbh->table_info()
is currently listing all the partitions (which are stored as tables, so it makes sense) but it does not include the parent partitioned tables, introduced in Postgres 10 withrelkind = 'p'
.An alternative approach could be to create a new
TABLE_TYPE
value for partitioned tables.