Ticket #11038: gis.diff

File gis.diff, 715 bytes (added by funkmyster, 15 years ago)

patch

  • contrib/gis/db/backend/postgis/creation.py

     
    2020    # also be in your path.
    2121    status, output = getstatusoutput(createlang_cmd)
    2222
    23     # Checking the status of the command, 0 => execution successful
    24     if status:
     23    # Checking the status of the command, 0 => execution successful, 2 == 'plpgsql' already installed
     24    if status and status != 2:
    2525        raise Exception("Error executing 'plpgsql' command: %s\n" % output)
    2626
    2727def _create_with_cursor(db_name, verbosity=1, autoclobber=False):
Back to Top