[postgis-tickets] [PostGIS] #4551: Regress: Use --schema= option to change were the extension is installed

PostGIS trac at osgeo.org
Fri Oct 18 08:30:11 PDT 2019


#4551: Regress: Use --schema= option to change were the extension is installed
--------------------------+---------------------------
  Reporter:  Algunenano   |      Owner:  pramsey
      Type:  enhancement  |     Status:  closed
  Priority:  medium       |  Milestone:  PostGIS 3.1.0
 Component:  postgis      |    Version:  trunk
Resolution:  fixed        |   Keywords:
--------------------------+---------------------------

Comment (by Algunenano):

 Related to this: We should change the files that we load for regress
 testing and, instead of reading the ones with @extschema@ stripped, we
 should replace @extschema@ with whatever schema is passed.

 That way we can test pgplsql functions with something like:
 {{{
 BEGIN;
 SET search_path = pg_catalog;
 -- Query with the function
 ROLLBACK;
 }}}

 in order to check that is independent on the search_path (e.g. everything
 is qualified properly)

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