NAME
DBIO::PostgreSQL::PostGIS::Introspect - PostgreSQL introspector augmented with PostGIS geometry_columns
VERSION
version 0.900000
DESCRIPTION
Extends DBIO::PostgreSQL::Introspect for PostGIS-enabled databases. After the standard introspection, augments geometry and geography column metadata by parsing the data_type string (e.g. geometry(Point,4326)) into discrete geometry_type and srid fields.
This is used automatically when DBIO::PostgreSQL::PostGIS::Storage is active — the Deploy class uses this introspector via "_new_introspect" in DBIO::PostgreSQL::PostGIS::Deploy.
METHODS
_build_model
Calls the parent _build_model then augments geometry and geography columns with geometry_type and srid parsed from the data_type string.
_augment_geometry_columns
Private helper. Iterates the columns-by-table hashref and parses PostGIS data_type strings such as geometry(Point,4326) into discrete base_type (geometry or geography), geometry_type (e.g. Point), and numeric srid fields on each column hashref in place.
AUTHOR
DBIO Authors
COPYRIGHT AND LICENSE
Copyright (C) 2026 DBIO Authors
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.