~ubuntu-branches/ubuntu/trusty/postgis/trusty-updates

« back to all changes in this revision

Viewing changes to utils/postgis_proc_upgrade.pl

  • Committer: Package Import Robot
  • Author(s): Markus Wanner
  • Date: 2013-12-12 20:38:27 UTC
  • mfrom: (22.1.5 sid)
  • Revision ID: package-import@ubuntu.com-20131212203827-l99pq9urf9emmm4r
Tags: 2.1.1-1
* New upstream release
* Drop patches upstream-r11979, upstream-r11983, upstream-r11990, and
  minor-r11979-correction; these are included in this release.
* control, rules, liblwgeom-2.1.*.{install,symbols}: adapt to new liblwgeom
  version.
* Adjust patch debian-versions: in doc/Makefile.comments, refer to
  Postgres 9.3, as that's now default. Set POSTGIS_LIBXML2_VERSION to
  2.9.1, as currently shipped.
* Adjust line numbers in patches honor-build-flags and link-liblwgeom

Show diffs side-by-side

added added

removed removed

Lines of Context:
336
336
        -- postgis_lib_version() and postgis_scripts_installed()
337
337
        -- would both return actual PostGIS release number.
338
338
        -- 
339
 
        SELECT into old_scripts postgis_lib_version();
 
339
 
 
340
        BEGIN
 
341
                SELECT into old_scripts postgis_lib_version();
 
342
        EXCEPTION WHEN OTHERS THEN
 
343
                RAISE DEBUG ''Got %'', SQLERRM;
 
344
                SELECT into old_scripts postgis_scripts_installed();
 
345
        END;
 
346
 
340
347
        SELECT into new_scripts ''NEWVERSION'';
341
348
        SELECT into old_maj substring(old_scripts from 1 for 2);
342
349
        SELECT into new_maj substring(new_scripts from 1 for 2);