NAME

DBIO::PostgreSQL::Introspect::Tables - Introspect PostgreSQL tables

VERSION

version 0.900000

DESCRIPTION

Fetches PostgreSQL table (and view, materialized view, foreign table, and partitioned table) metadata from pg_catalog.pg_class.

METHODS

fetch

my $tables = DBIO::PostgreSQL::Introspect::Tables->fetch($dbh, $filter);

Returns a hashref keyed by schema.table. Each value is a hashref with keys: schema_name, table_name, oid, kind (pg relkind char), kind_label (human-readable), persistence, comment, rls_enabled, rls_forced, view_definition.

AUTHOR

DBIO & DBIx::Class Authors

COPYRIGHT AND LICENSE

Copyright (C) 2026 DBIO Authors Portions Copyright (C) 2005-2025 DBIx::Class Authors Based on DBIx::Class, heavily modified.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.