NAME

DBIO::PostgreSQL::Introspect::Schemas - Introspect PostgreSQL schemas (namespaces)

VERSION

version 0.900000

DESCRIPTION

Fetches PostgreSQL schema (namespace) metadata from pg_catalog.pg_namespace. System schemas (pg_* and information_schema) are excluded.

METHODS

fetch

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

Returns a hashref keyed by schema name. Each value is a hashref with keys oid and comment. Pass an optional ArrayRef as $filter to restrict to specific schema names.

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.