postgis-2.0.so: undefined symbol: GETSTRUCT

前端 未结 1 2069
小鲜肉
小鲜肉 2021-02-14 14:54

when i use pg_upgrade check upgrade postgresql 9.0 beta2 to postgresql 9.3 beta1. error occure below :

uptest@db-172-16-3-33-> cat loadable_libraries.txt 
Co         


        
相关标签:
1条回答
  • 2021-02-14 15:30

    This is quoted from question. (OP has edited the question)

    Quote:

    this is a postgis bug for postgresql 9.3. and resolved it.

    thanks.

    http://trac.osgeo.org/postgis/changeset/10321

    vi /opt/soft_bak/postgis-2.0.3/postgis/geometry_estimate.c

    //add
    #if POSTGIS_PGSQL_VERSION >= 93
      #include "access/htup_details.h"
    #endif
    

    and then gmake, gmake install

    do pg_upgrade passed now.

    0 讨论(0)
提交回复
热议问题