[postgis-devel] [PostGIS] #1937: must specify "true" to st_length when casting to geography

PostGIS trac at osgeo.org
Thu Jul 26 08:30:53 PDT 2012


#1937: must specify "true" to st_length when casting to geography
----------------------+-----------------------------------------------------
  Reporter:  bcrosby  |       Owner:  pramsey      
      Type:  defect   |      Status:  closed       
  Priority:  medium   |   Milestone:  PostGIS 2.0.2
 Component:  postgis  |     Version:  2.0.x        
Resolution:  invalid  |    Keywords:               
----------------------+-----------------------------------------------------
Changes (by robe):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 I suspect your upgrade was dirty and you did not run the
 postgis_upgrade_20_minor.sql after restoring ontop of a new PostGIS 2.0.1
 database.

 This is one change -- a lot of functions were changed to use default args,
 so simply restoring ontop of a PostGIS 2.0.1 will not work.

 To fix:
 Run postgis_upgrade_20_minor.sql

 If you installed using extensions, then you will need to just run all
 the drop statements at the end of that script.

 Actually the drop statements is really all you need.  I was just didn't
 want to confuse people by explaining that.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1937#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list