PostGIS DB creation SQL not found on Fedora-based installs.
|Reported by:||alexdutton||Owned by:||jbronn|
|Severity:||Keywords:||postgis fedora pg_config|
|Cc:||adamfast@…, alexander.dutton@…||Triage Stage:||Design decision needed|
|Has patch:||yes||Needs documentation:||yes|
|Needs tests:||no||Patch needs improvement:||yes|
Django looks for lwpostgis.sql and spatial_ref_sys.sql in "pg_config --sharedir", but they are kept in "pg_config --sharedir/contrib" on Fedora systems. Additionally, lwpostgis.sql is renamed lwpostgis-64.sql on 64-bit machines.
The attached patch results in Django looking in more than one place before giving up.
Change History (7)
Changed 7 years ago by alexdutton
comment:1 follow-up: ↓ 2 Changed 7 years ago by adamfast
- Cc adamfast@… added
- Needs documentation set
- Needs tests unset
- Patch needs improvement set
- Triage Stage changed from Unreviewed to Design decision needed