Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#13671 closed (fixed)

create_template_postgis-1.4.sh POSTGIS_SQL_PATH drop postgis-1.4

Reported by: CarlFK Owned by: nobody
Component: GIS Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation:
Needs tests: Patch needs improvement:
Easy pickings: UI/UX:

Description

http://docs.djangoproject.com/en/dev/ref/contrib/gis/install/#spatialdb-template says

"""
The location and name of the PostGIS SQL files (e.g., from POSTGIS_SQL_PATH below) depends on the version of PostGIS. PostGIS versions 1.3 and below use <pg_sharedir>/contrib/lwpostgis.sql;
whereas version 1.4 uses <sharedir>/contrib/postgis.sql
and version 1.5 uses <sharedir>/contrib/postgis-1.5/postgis.sql.
"""
but

http://geodjango.org/docs/create_template_postgis-1.4.sh
line 2:
POSTGIS_SQL_PATH=pg_config --sharedir/contrib/postgis-1.4
should be
POSTGIS_SQL_PATH=pg_config --sharedir/contrib/

Change History (2)

comment:1 Changed 5 years ago by jbronn

  • Resolution set to fixed
  • Status changed from new to closed

(In [13398]) Fixed #13671, #13748 -- Fixed errata and minor updates to GeoDjango docs.

comment:2 Changed 5 years ago by jbronn

(In [13399]) [1.2.X] Fixed #13671, #13748 -- Fixed errata and minor updates to GeoDjango docs.

Backport of r13398 from trunk.

Note: See TracTickets for help on using tickets.
Back to Top