update with latest build versions, includes custom build for postgres and migrating from v16 to v18
This commit is contained in:
21
build/postgresql-postgis/init-extensions.sql
Normal file
21
build/postgresql-postgis/init-extensions.sql
Normal file
@@ -0,0 +1,21 @@
|
||||
-- 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;
|
||||
Reference in New Issue
Block a user