[postgis-devel] Upgrading

Paul Ramsey pramsey at cleverelephant.ca
Wed Jun 10 08:00:22 PDT 2009


Found and fixed these in the hard upgrade script. The _as_gml
signature was the change from 3 parameters in 1.3 to 4 in 1.4. Since
the soft upgrade script is currently generated 100% from the new .sql
file, I am loath to add extra scruft to it... these kinds of amonolies
have existed ever since soft upgrade was introduced.

P

On Wed, Jun 10, 2009 at 1:50 AM, Mark
Cave-Ayland<mark.cave-ayland at siriusit.co.uk> wrote:
> Paul Ramsey wrote:
>
>> I'm still hammering away at a soft upgrade script. I now have one that
>> runs through to completion, upgrading most of the functions. This is still
>> using the old model of parsing the new postgis.sql file. When I'm done, I
>> have the following functions "left over", in that there was no definition in
>> the new postgis.sql file that overwrote them.
>>
>>         proname         |      probin
>> -------------------------+-------------------
>>  histogram2d_in          | $libdir/liblwgeom
>>  st_histogram2d_in       | $libdir/liblwgeom
>>  histogram2d_out         | $libdir/liblwgeom
>>  st_histogram2d_out      | $libdir/liblwgeom
>>  dump                    | $libdir/liblwgeom
>>  create_histogram2d      | $libdir/liblwgeom
>>  st_create_histogram2d   | $libdir/liblwgeom
>>  build_histogram2d       | $libdir/liblwgeom
>>  st_build_histogram2d    | $libdir/liblwgeom
>>  explode_histogram2d     | $libdir/liblwgeom
>>  st_explode_histogram2d  | $libdir/liblwgeom
>>  estimate_histogram2d    | $libdir/liblwgeom
>>  st_estimate_histogram2d | $libdir/liblwgeom
>>  postgis_jts_version     | $libdir/liblwgeom
>>  text                    | $libdir/liblwgeom
>>  st_text                 | $libdir/liblwgeom
>>  jtsnoop                 | $libdir/liblwgeom
>>  _st_asgml               | $libdir/liblwgeom
>
> This all looks sane except for the _st_asgml() function - although it's
> difficult to tell which one it is as there are multiple versions with
> different arguments. Can you work out which one this is exactly?
>
>
> ATB,
>
> Mark.
>
> --
> Mark Cave-Ayland - Senior Technical Architect
> PostgreSQL - PostGIS
> Sirius Corporation plc - control through freedom
> http://www.siriusit.co.uk
> t: +44 870 608 0063
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>



More information about the postgis-devel mailing list