[postgis-tickets] [PostGIS] #3238: SFCGAL tests failing

PostGIS trac at osgeo.org
Tue Aug 18 09:23:51 PDT 2015


#3238: SFCGAL tests failing
----------------------+---------------------------
  Reporter:  strk     |      Owner:  colivier
      Type:  defect   |     Status:  new
  Priority:  blocker  |  Milestone:  PostGIS 2.2.0
 Component:  sfcgal   |    Version:  trunk
Resolution:           |   Keywords:  testsing
----------------------+---------------------------

Comment (by robe):

 I think our check for guc


 {{{
 const char *guc_installed = GetConfigOption(guc_name, TRUE, FALSE);
 }}}

  is flawed.

 The issue AFAICS is when I do:


 {{{
 set postgis.backend = 'sfcgal';
 }}}


 It registers that guc is installed, but my postgis library hasn't actually
 loaded yet.

 So what happens is it doesn't use the one I set and ends up using the
 default postgis.backend='geos' one (the default when no guc is set).


 I have to remark out both these lines:


 {{{
  elog(WARNING, "'%s' is currently set to '%s' and cannot be changed until
 you reconnect", guc_name, guc_installed);
  return;
 }}}

 to get it to work, otherwise sfcgal backend does not kick in.

--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/3238#comment:6>
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-tickets mailing list