-- Initialize PostGIS extensions for testing -- This mirrors what CNPG does in postInitTemplateSQL -- Core PostGIS CREATE EXTENSION IF NOT EXISTS postgis; -- Topology support CREATE EXTENSION IF NOT EXISTS postgis_topology; -- Fuzzy string matching (required for tiger geocoder) CREATE EXTENSION IF NOT EXISTS fuzzystrmatch; -- US Census TIGER geocoder CREATE EXTENSION IF NOT EXISTS postgis_tiger_geocoder; -- Verify installations SELECT 'PostgreSQL version: ' || version(); SELECT 'PostGIS version: ' || postgis_full_version(); -- List all installed extensions SELECT extname, extversion FROM pg_extension ORDER BY extname;