Code

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#17584 closed New feature (fixed)

Ubuntu 11.10 / Linux Mint 12 update to create_template_postgis-debian.sh

Reported by: akaihola Owned by: nobody
Component: Documentation Version: master
Severity: Normal Keywords: geodjango postgis
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Ubuntu 11.10 and derivatives ship with PostgreSQL 9.1, which the create_template_postgis-debian.sh script included in the GeoDjango section of the documentation isn't able to handle.

I also noticed that if I manually create and run a PostgreSQL cluster on my system, created databases have the plpgsql language included by default. I needed to take that into account in the script as well.

Attachments (1)

17584-ubuntu-oneiric-postgis-template.diff (1.5 KB) - added by akaihola 2 years ago.
Adds support for Ubuntu 11.10 and derivatives to postgis template creation script

Download all attachments as: .zip

Change History (6)

Changed 2 years ago by akaihola

Adds support for Ubuntu 11.10 and derivatives to postgis template creation script

comment:1 Changed 2 years ago by akaihola

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

In the above patch, I also made sure that the plpgsql language is only added if it wasn't already there.

comment:2 Changed 2 years ago by claudep

  • Triage Stage changed from Unreviewed to Accepted

comment:3 Changed 2 years ago by akaihola

There's also some discussion about these scripts in #13340.

comment:4 Changed 2 years ago by claudep

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

In [17706]:

Fixed #17584 -- Updated create_template_postgis-debian.sh script for PostgreSQL 9.1 installs. Thanks akaihola for the initial patch.

comment:5 Changed 2 years ago by claudep

In [17707]:

Fixed #17584 -- Updated create_template_postgis-debian.sh script for PostgreSQL 9.1 installs. Thanks akaihola for the initial patch.

Backport of r17706 from trunk.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.