NAME

DBIO::PostgreSQL::Introspect::Sequences - Introspect PostgreSQL sequences

VERSION

version 0.900000

DESCRIPTION

Fetches sequence metadata from pg_catalog.pg_sequence, including ownership information (the table and column the sequence is attached to via pg_depend), start value, increment, min/max bounds, cache size, cycle flag, and data type.

METHODS

fetch

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

Returns a hashref keyed by schema.sequence_name. Each entry has: schema_name, sequence_name, owned_by_table, owned_by_column, start_value, increment, min_value, max_value, cache_size, is_cycle, data_type.

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.