[postgis-tickets] [PostGIS] #4553: tickets.sql fail with --schema postgis (UpdateGeometrySRID?)

PostGIS trac at osgeo.org
Wed Feb 12 00:53:18 PST 2020


#4553: tickets.sql fail with --schema postgis (UpdateGeometrySRID?)
----------------------+---------------------------
  Reporter:  strk     |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  medium   |  Milestone:  PostGIS 3.1.0
 Component:  postgis  |    Version:  master
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by strk):

 Right now, in non-extension mode, we're just _omitting_ the @schema@
 placeholder used in function bodies. Instead we'd need a way to still use
 it somehow.

 For other projects I've been using a wrapper script to load the SQL, and
 doing the search&replace portions, but for us it would mean yet another
 way to install PostGIS which makes things more complex.

 Can we think of a way to instead somehow wrap the full SQL into some
 plpgsql doing an execute regexp_replace ? Regina I know you'll like the
 idea !

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4553#comment:4>
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