Ticket #11038: gis.diff
File gis.diff, 715 bytes (added by , 16 years ago) |
---|
-
contrib/gis/db/backend/postgis/creation.py
20 20 # also be in your path. 21 21 status, output = getstatusoutput(createlang_cmd) 22 22 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: 25 25 raise Exception("Error executing 'plpgsql' command: %s\n" % output) 26 26 27 27 def _create_with_cursor(db_name, verbosity=1, autoclobber=False):