NAME
DBIO::PostgreSQL::Diff::Extension - Diff operations for PostgreSQL extensions
VERSION
version 0.900000
DESCRIPTION
Represents an extension-level diff operation: CREATE EXTENSION IF NOT EXISTS, DROP EXTENSION, or ALTER EXTENSION ... UPDATE TO (version change). Extensions are compared by name; version differences produce an update operation.
ATTRIBUTES
extension_name
The PostgreSQL extension name (e.g. pgcrypto, postgis).
extension_info
Extension metadata hashref (version, schema_name, relocatable).
METHODS
diff
my @ops = DBIO::PostgreSQL::Diff::Extension->diff($source, $target);
Compares extension hashrefs. Produces create, update (version changed), or drop operations.
as_sql
Returns the SQL for this operation.
summary
Returns a one-line description such as +extension: pgcrypto or ~extension: postgis (3.3 -> 3.4).
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.